mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
added settings tab, add language chooser
This commit is contained in:
@ -80,6 +80,9 @@ const initialState = {
|
||||
accent: '#f44336',
|
||||
},
|
||||
},
|
||||
settings: {
|
||||
language: 'en',
|
||||
},
|
||||
};
|
||||
|
||||
const reducer = (state, { type, payload }) => {
|
||||
@ -120,8 +123,7 @@ const reducer = (state, { type, payload }) => {
|
||||
|
||||
return {
|
||||
...state,
|
||||
data: payload.data,
|
||||
theme: payload.theme,
|
||||
...payload,
|
||||
};
|
||||
case 'load_dummy_data':
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user