Skip to content

Commit

Permalink
fix: mipd wallets use correct wallet name (#8666)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Jan 27, 2025
1 parent 9902b63 commit fc542c8
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -69,7 +69,13 @@ export const MipdBody = ({ rdns, isLoading, error, setIsLoading, setError }: Mip

dispatch({
type: WalletActions.SET_WALLET,
payload: { wallet, name, icon, deviceId, connectedType: KeyManager.MetaMask },
payload: {
wallet,
name: maybeMipdProvider?.info.name ?? name,
icon: maybeMipdProvider?.info.icon ?? icon,
deviceId,
connectedType: KeyManager.MetaMask,
},
})
dispatch({
type: WalletActions.SET_IS_CONNECTED,
@@ -122,6 +128,7 @@ export const MipdBody = ({ rdns, isLoading, error, setIsLoading, setError }: Mip
history,
isMetaMaskMobileWebView,
localWallet,
maybeMipdProvider?.info.icon,
maybeMipdProvider?.info.name,
maybeMipdProvider?.info.rdns,
setError,

0 comments on commit fc542c8

Please sign in to comment.