Canton dAppBooster
    Preparing search index...
    ConnectionStatus:
        | "idle"
        | "connecting"
        | "connected"
        | "disconnecting"
        | "disconnected"

    'idle' is "not determined yet", not "disconnected": gate a connect button on 'disconnected', or a returning user is turned away before the boot restore runs. 'disconnecting' is the session tearing down; keep connect disabled until it settles, so a new connect never overlaps it.

    const { status } = useAccount()
    if (status === 'idle') return null
    return status === 'disconnected' ? <ConnectButton /> : <App />