Skip to content

Commit

Permalink
Swap order
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Nov 10, 2023
1 parent b0c9cce commit 60386f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/session/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,11 @@ export function Provider({children}: React.PropsWithChildren<{}>) {

React.useEffect(() => {
if (isDirty.current) {
isDirty.current = false
persisted.write('session', {
accounts: state.accounts,
currentAccount: state.currentAccount,
})
isDirty.current = false
}
}, [state])

Expand Down

0 comments on commit 60386f8

Please sign in to comment.