dAppBooster
    Preparing search index...
    WalletStatusVerifier: FC<WalletStatusVerifierProps> = ...

    WalletStatusVerifier Component

    This component checks the wallet connection and chain synchronization status. If the wallet is not connected, it displays a fallback component (default: ConnectWalletButton) If the wallet is connected but not synced with the correct chain, it provides an option to switch chain.

    WalletStatusVerifier component props

    The chain ID to check for synchronization

    The fallback component to render if the wallet is not connected

    The children components to render if the wallet is connected and synced

    <WalletStatusVerifier>
    <AComponentThatRequiresAConnectedWallet />
    </WalletStatusVerifier>