Combine init actions

This commit is contained in:
Ken-Håvard Lieng 2020-06-25 01:50:10 +02:00
parent 02e9df865e
commit d844f6ee1a
13 changed files with 228 additions and 232 deletions

View file

@ -44,6 +44,10 @@ export default createReducer(
} else {
state[key] = value;
}
},
[actions.INIT](state, { settings }) {
return settings;
}
}
);