Remove redundant call
This commit is contained in:
@@ -578,7 +578,6 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
|||||||
setState(s => ({
|
setState(s => ({
|
||||||
...s,
|
...s,
|
||||||
accounts: session.accounts,
|
accounts: session.accounts,
|
||||||
currentAccount: session.currentAccount,
|
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
}, [state, setState, clearCurrentAccount, initSession])
|
}, [state, setState, clearCurrentAccount, initSession])
|
||||||
|
|||||||
Reference in New Issue
Block a user