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.
Param: props
WalletStatusVerifier component props
Param: props.chainId
The chain ID to check for synchronization
Param: props.fallback
The fallback component to render if the wallet is not connected
Param: props.children
The children components to render if the wallet is connected and synced
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.