UNPKG

377 BJavaScriptView Raw
1import _concat from "lodash/fp/concat";
2export default function slides(config) {
3 return (array = [], action) => {
4 switch (action.type) {
5 case 'answer':
6 {
7 const answerAction = action;
8 return _concat(array, [answerAction.payload.content.ref]);
9 }
10
11 default:
12 return array;
13 }
14 };
15}
16//# sourceMappingURL=slides.js.map
\No newline at end of file