Swap order

zio/stable
Eric Bailey 2023-11-10 08:48:15 -06:00
parent b0c9cce5c3
commit 60386f8f07
1 changed files with 1 additions and 1 deletions

View File

@ -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])