AutoConnect Last connected wallet user reloads the page or revisits the app at a later time.
If you are using ConnectButton or ConnectEmbed components, You don't need to use this component because it is already included.
ConnectButton
ConnectEmbed
import { createWallet, inAppWallet } from "thirdweb/wallets";import { AutoConnect } from "thirdweb/react"; // wallets used in your appconst wallets = [ inAppWallet(), createWallet("io.metamask"), createWallet("com.coinbase.wallet"), createWallet("me.rainbow"),]; function Example() { return ( <AutoConnect client={client} timeout={10000} wallets={wallets} appMetadata={appMetadata} /> );}