mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-07-12 07:00:03 +00:00
Change property name
This commit is contained in:
@@ -11,7 +11,7 @@ export const themeSlice = createSlice({
|
||||
state = action.payload;
|
||||
|
||||
document.documentElement.setAttribute('data-theme', state);
|
||||
localStorage.setItem('theme', state);
|
||||
localStorage.setItem('ezprofileTheme', state);
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user