revert change to load last account and bump local storage key version
This commit is contained in:
parent
d421fe856b
commit
55db739d76
|
@ -627,7 +627,7 @@ const mangoStore = create<MangoStore>()(
|
|||
if (typeof lastAccount === 'string') {
|
||||
try {
|
||||
lastViewedAccount = mangoAccounts.find(
|
||||
(m) => m.publicKey.toString() === lastAccount
|
||||
(m) => m.publicKey.toString() === JSON.parse(lastAccount)
|
||||
)
|
||||
} catch (e) {
|
||||
console.error('Error parsing last account', e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export const LAST_ACCOUNT_KEY = 'mangoAccount-0.3'
|
||||
export const LAST_ACCOUNT_KEY = 'mangoAccount-0.4'
|
||||
|
||||
export const CLIENT_TX_TIMEOUT = 90000
|
||||
|
||||
|
|
Loading…
Reference in New Issue