Skip to content

Commit ec7284f

Browse files
committed
fix lint error
1 parent d8a2fdc commit ec7284f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/providers/auth-store-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface AuthStoreProviderProps {
1616

1717
export const AuthStoreProvider = ({ children }: AuthStoreProviderProps) => {
1818
const storeRef = useRef<StoreApi<AuthStore>>(undefined);
19-
const authStore = localStorage.getItem("auth-store");
19+
const authStore = window.localStorage.getItem("auth-store");
2020

2121
const persistedStoreOrNull = authStore ? JSON.parse(authStore).state : null;
2222

0 commit comments

Comments
 (0)