Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Feb 25, 2024
1 parent 9a9507c commit 1ac3ca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function useLoadSyncedState(setThemeState: SetStateAction<ThemeStoreType>, targe
tInit = Date.now();
const key = targetSelector ?? DEFAULT_ID;
const storedState = parseState(localStorage.getItem(key));
// @ts-expect-error -- using only as a partial
// @ts-ignore
delete storedState.systemColorScheme;
setThemeState(state => ({ ...state, ...storedState }));
const storageListener = (e: StorageEvent) => {
Expand Down

0 comments on commit 1ac3ca2

Please sign in to comment.