Skip to content

Commit

Permalink
feat: Set current wallet to null if it's undefined
Browse files Browse the repository at this point in the history
otherwise it'll be removed from the stringified response
  • Loading branch information
ashchan committed Nov 15, 2019
1 parent 9b5b52c commit 6c7117f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neuron-wallet/src/controllers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class ApiController {
: []

const initState = {
currentWallet,
currentWallet: currentWallet || null,
wallets: wallets,
currentNetworkID,
networks,
Expand Down

0 comments on commit 6c7117f

Please sign in to comment.