fixed build errors
This commit is contained in:
@@ -4,6 +4,6 @@ import { getActiveAccount } from '@utils/storage';
|
||||
import { atomWithCache } from 'jotai-cache';
|
||||
|
||||
export const activeAccountAtom = atomWithCache(async () => {
|
||||
const response = isSSR ? null : await getActiveAccount();
|
||||
const response = isSSR ? {} : await getActiveAccount();
|
||||
return response;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user