Autoconnect the last previously connected wallet.
import { useAutoConnect } from "thirdweb/react"; const { data: autoConnected, isLoading } = useAutoConnect({ client, accountAbstraction, wallets, onConnect, timeout,});
function useAutoConnect( props: AutoConnectProps,): UseQueryResult<boolean, Error>;
The props for auto connect.
let props: AutoConnectProps;
let returnType: UseQueryResult<boolean, Error>;
whether the auto connect was successful.