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