diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx index a2a46c6..00b9c0a 100644 --- a/src/helpers/utils.jsx +++ b/src/helpers/utils.jsx @@ -9,7 +9,7 @@ export const getInitialTheme = () => { if ( !(localStorage.getItem('gitprofile-theme') === null) && - config.themeConfig.themes.includes('gitprofile-theme') + config.themeConfig.themes.includes(localStorage.getItem('gitprofile-theme')) ) { let theme = localStorage.getItem('gitprofile-theme');