We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c303ef commit e4be336Copy full SHA for e4be336
src/components/scenes/DevTestScene.tsx
@@ -69,7 +69,8 @@ export const DevTestScene: React.FC<Props> = props => {
69
70
// TODO: Make this scene work without useSelectedWallet() for unit testing compatibility
71
const { id: walletId, tokenId } = useSelector(
72
- state => state.ui.settings.mostRecentWallets[0]
+ state =>
73
+ state.ui.settings.mostRecentWallets[0] ?? { walletId: '', tokenId: null }
74
)
75
const account = useSelector(state => state.core.account)
76
const wallet: EdgeCurrencyWallet | undefined =
0 commit comments