mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixing regression on searchable not saving
This commit is contained in:
parent
7f46c4f523
commit
2a7d1423e2
@ -49,7 +49,7 @@ export function useAccountAccess() {
|
||||
useEffect(() => {
|
||||
if (account?.state?.status) {
|
||||
const { seal, sealKey, status } = account.state;
|
||||
updateState({ searchable: status.searchabled, seal, sealKey });
|
||||
updateState({ searchable: status.searchable, seal, sealKey });
|
||||
}
|
||||
}, [account]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user