Migrate from redux to context

This commit is contained in:
MD. Ariful Alam committed 2021-09-16 00:30:22 +06:00
1 parent d5c715e16e
commit 8f167cc940
21 files changed
+157 -446

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import config from "../config";
import colors from './colors.json';
export const getThemeValue = () => {
export const getInitialTheme = () => {
if (config.themeConfig.disableSwitch) {
return config.themeConfig.default;
}