Docs

useActiveWalletConnectionStatus

A hook that returns the active account's connection status.

Example

import { useActiveWalletConnectionStatus } from "thirdweb/react";
function Example() {
const status = useActiveWalletConnectionStatus();
console.log(status);
return <div> ... </div>;
}

Returns

The active wallet's connection status.