const Component = () => {
  const {
    mutate: addAdmin,
    isLoading,
    error,
  } = useAddAdmin();
  if (error) {
    console.error("failed to add admin", error);
  }
  return (
    <button
      disabled={isLoading}
      onClick={() => addAdmin("0x...")}
    >
      Add admin
    </button>
  );
};
Account
Generated using TypeDoc
Add an additional admin on the smart wallet