mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Change property name
This commit is contained in:
@@ -6,8 +6,8 @@ export const getThemeValue = () => {
|
||||
return config.themeConfig.default;
|
||||
}
|
||||
|
||||
if (localStorage.hasOwnProperty('theme')) {
|
||||
let theme = localStorage.getItem('theme');
|
||||
if (localStorage.hasOwnProperty('ezprofileTheme')) {
|
||||
let theme = localStorage.getItem('ezprofileTheme');
|
||||
return theme;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user