A hook that returns the active account
import { useActiveAccount } from "thirdweb/react"; const activeAccount = useActiveAccount();
The active Account or undefined if no active account is set.
Account
undefined