welsh changes

This commit is contained in:
2024-12-05 16:34:48 +00:00
parent 8b349e7d3a
commit 19310b8145
12 changed files with 143 additions and 56 deletions
+6
View File
@@ -11,6 +11,7 @@ const currentViewInitialState = {
currentPage: 1,
showReps: false,
showLogin: false,
locale: "",
};
export default function reducer(state = currentViewInitialState, action) {
@@ -72,6 +73,11 @@ export default function reducer(state = currentViewInitialState, action) {
showReps: action.showReps,
showLogin: action.showLogin,
};
case currentViewActionTypes.SETLOCALE:
return {
...state,
locale: action.locale,
};
default:
return state;
}