useDisconnect
Hook for disconnecting the currently connected wallet.
import { useDisconnect } from "@thirdweb-dev/react";
Usage
import { useDisconnect, Web3Button } from "@thirdweb-dev/react";
function App() {
const disconnect = useDisconnect();
return <button onClick={disconnect}>Disconnect</button>;
}