generated from Seekra/repository-template
Remove appHasDarkClass function
This commit is contained in:
@@ -32,13 +32,8 @@ export const useColorTheme = function () {
|
||||
localStorage.setItem('theme', actualNewTheme);
|
||||
};
|
||||
|
||||
const appHasDarkClass = function (colorTheme) {
|
||||
return colorTheme === 'dark';
|
||||
};
|
||||
|
||||
return {
|
||||
getColorTheme,
|
||||
updateColorTheme,
|
||||
appHasDarkClass
|
||||
updateColorTheme
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user