Skip to content

Commit

Permalink
fix: modalType not set on native creation (#8952)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Mar 5, 2025
1 parent cadb561 commit c297ccb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export const useNativeSuccess = ({ vault }: UseNativeSuccessPropTypes) => {
type: WalletActions.SET_IS_CONNECTED,
payload: true,
})
dispatch({
type: WalletActions.SET_CONNECTOR_TYPE,
payload: { modalType: KeyManager.Native, isMipdProvider: false },
})
dispatch({ type: WalletActions.SET_WALLET_MODAL, payload: false })
localWallet.setLocalWallet({ type: KeyManager.Native, deviceId })
localWallet.setLocalNativeWalletName(walletLabel)
Expand Down

0 comments on commit c297ccb

Please sign in to comment.