Skip to content

Commit

Permalink
fix: get mnemonics from local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechsimetka committed Oct 28, 2023
1 parent 789c71a commit 3a30b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/stores/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function createWalletStore(): WalletStore {

let mnemonic: string | undefined
try {
getFromLocalStorage<Mnemonic12>('mnemonic', Mnemonic12Schema)
mnemonic = getFromLocalStorage<Mnemonic12>('mnemonic', Mnemonic12Schema)
} catch (error) {
// this is fine
}
Expand Down

1 comment on commit 3a30b48

@vercel
Copy link

@vercel vercel bot commented on 3a30b48 Oct 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.