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