diff --git a/src/hooks/wallets/mpc/useMPCWallet.ts b/src/hooks/wallets/mpc/useMPCWallet.ts index c83312a9f5..d3cb6b1826 100644 --- a/src/hooks/wallets/mpc/useMPCWallet.ts +++ b/src/hooks/wallets/mpc/useMPCWallet.ts @@ -88,10 +88,13 @@ export const useMPCWallet = (): MPCWalletHook => { } } - const finalizeLogin = () => { + const finalizeLogin = async () => { if (!mpcCoreKit || !onboard) { return } + + await mpcCoreKit.commitChanges() + if (mpcCoreKit.status === COREKIT_STATUS.LOGGED_IN) { connectWallet(onboard, { autoSelect: {