mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 18:31:37 +01:00
47bf7a8047
* Move ancestors/descendants out of timelines reducer * Refactor timelines reducer All types of timelines now have a flat structure and use the same reducer functions and actions * Reintroduce some missing behaviours * Fix wrong import in reports * Fix includes typo * Fix issue related to "next" pagination in timelines and notifications * Fix bug with timeline's initial state, expandNotifications
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
import { combineReducers } from 'redux-immutable';
|
|
import timelines from './timelines';
|
|
import meta from './meta';
|
|
import compose from './compose';
|
|
import alerts from './alerts';
|
|
import { loadingBarReducer } from 'react-redux-loading-bar';
|
|
import modal from './modal';
|
|
import user_lists from './user_lists';
|
|
import accounts from './accounts';
|
|
import accounts_counters from './accounts_counters';
|
|
import statuses from './statuses';
|
|
import media_attachments from './media_attachments';
|
|
import relationships from './relationships';
|
|
import search from './search';
|
|
import notifications from './notifications';
|
|
import settings from './settings';
|
|
import status_lists from './status_lists';
|
|
import cards from './cards';
|
|
import reports from './reports';
|
|
import contexts from './contexts';
|
|
|
|
export default combineReducers({
|
|
timelines,
|
|
meta,
|
|
compose,
|
|
alerts,
|
|
loadingBar: loadingBarReducer,
|
|
modal,
|
|
user_lists,
|
|
status_lists,
|
|
accounts,
|
|
accounts_counters,
|
|
media_attachments,
|
|
statuses,
|
|
relationships,
|
|
search,
|
|
notifications,
|
|
settings,
|
|
cards,
|
|
reports,
|
|
contexts,
|
|
});
|