Change property name

This commit is contained in:
MD. Ariful Alam committed 2021-08-27 00:54:53 +06:00
1 parent 19e158683d
commit bb26277629
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;
}