align locale theme across sites (#38)

This commit is contained in:
AceDataCloud committed 2024-05-11 09:39:35 +00:00
1 parent 9b8db40440
commit 266f2e8bb2
12 files changed
+124 -91

No files matched your search

-10
View File
@@ -8,14 +8,6 @@ export const user = (state: IRootState): any => {
return state.user;
};
export const dark = (state: IRootState): boolean => {
return state.dark;
};
export const locale = (state: IRootState): string => {
return state.locale;
};
export const token = (state: IRootState): any => {
return state.token;
};
@@ -25,10 +17,8 @@ export const setting = (state: IRootState): any => {
};
export default {
locale,
authenticated,
user,
token,
dark,
setting
};