align locale theme across sites (#38)
This commit is contained in:
1 parent
9b8db40440
commit
266f2e8bb2
12 files changed
+124
-91
No files matched your search
@@ -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
|
||||
};
|
||||
Reference in new issue
Block a user