Skip to content

Commit 6c7117f

Browse files
committed
feat: Set current wallet to null if it's undefined
otherwise it'll be removed from the stringified response
1 parent 9b5b52c commit 6c7117f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/neuron-wallet/src/controllers

packages/neuron-wallet/src/controllers/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class ApiController {
8080
: []
8181

8282
const initState = {
83-
currentWallet,
83+
currentWallet: currentWallet || null,
8484
wallets: wallets,
8585
currentNetworkID,
8686
networks,

0 commit comments

Comments
 (0)