p5.js-web-editor/client/reducers.js

25 lines
694 B
JavaScript
Raw Normal View History

2016-06-24 00:29:55 +02:00
import { combineReducers } from 'redux';
import files from './modules/IDE/reducers/files';
2016-06-24 00:29:55 +02:00
import ide from './modules/IDE/reducers/ide';
import preferences from './modules/IDE/reducers/preferences';
import project from './modules/IDE/reducers/project';
2016-08-11 19:29:30 +02:00
import editorAccessibility from './modules/IDE/reducers/editorAccessibility';
2016-06-24 00:29:55 +02:00
import user from './modules/User/reducers';
2016-07-01 17:30:40 +02:00
import sketches from './modules/Sketch/reducers';
import toast from './modules/IDE/reducers/toast';
2016-06-24 00:29:55 +02:00
import { reducer as form } from 'redux-form';
2016-06-22 21:58:23 +02:00
const rootReducer = combineReducers({
2016-06-24 00:29:55 +02:00
form,
ide,
files,
2016-06-24 00:29:55 +02:00
preferences,
user,
2016-07-01 17:30:40 +02:00
project,
sketches,
editorAccessibility,
toast
2016-06-24 00:29:55 +02:00
});
2016-06-22 21:58:23 +02:00
2016-06-24 00:29:55 +02:00
export default rootReducer;