catstodon/app/javascript/mastodon/reducers/index.js

47 lines
1.2 KiB
JavaScript
Raw Normal View History

2016-11-20 19:39:18 +01:00
import { combineReducers } from 'redux-immutable';
import timelines from './timelines';
import meta from './meta';
import alerts from './alerts';
import { loadingBarReducer } from 'react-redux-loading-bar';
2016-11-20 19:39:18 +01:00
import modal from './modal';
import user_lists from './user_lists';
import accounts from './accounts';
import accounts_counters from './accounts_counters';
2016-11-20 19:39:18 +01:00
import statuses from './statuses';
import relationships from './relationships';
import settings from './settings';
import local_settings from '../../glitch/reducers/local_settings';
2017-01-16 13:27:58 +01:00
import status_lists from './status_lists';
import cards from './cards';
import reports from './reports';
import contexts from './contexts';
import compose from './compose';
import search from './search';
import media_attachments from './media_attachments';
import notifications from './notifications';
const reducers = {
timelines,
meta,
2016-11-20 19:39:18 +01:00
alerts,
loadingBar: loadingBarReducer,
2016-10-24 18:07:40 +02:00
modal,
user_lists,
2017-01-16 13:27:58 +01:00
status_lists,
accounts,
accounts_counters,
statuses,
2016-11-13 13:04:18 +01:00
relationships,
settings,
2017-06-29 07:00:54 +02:00
local_settings,
cards,
reports,
contexts,
compose,
search,
media_attachments,
notifications,
};
export default combineReducers(reducers);