feat(client): redesigned navigation (#40709)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
9014fff6c4
commit
58c6c54c67
@@ -7,7 +7,7 @@ const themeKey = 'fcc-theme';
|
||||
const defaultTheme = 'default';
|
||||
const nightTheme = 'night';
|
||||
|
||||
function setTheme(currentTheme = defaultTheme, theme) {
|
||||
export function setTheme(currentTheme = defaultTheme, theme) {
|
||||
if (currentTheme !== theme) {
|
||||
store.set(themeKey, theme);
|
||||
}
|
||||
|
Reference in New Issue
Block a user