Files
remark42/frontend/app/store/reducers.ts
T
Misha VyrtsevandUmputun 3b4628d0bd Auth login design (#390)
* break auth panel render into submethods

* move var definition

* break renderUnathorized into submethods

* hide login providers behind dropdown if they are exceed length of 3

* amend dropdown to behave nicely being placed in another dropdown

* add style to providers enclosed in dropdown

* add provider reducer and actions

* add provider save/restore to app flow

* place last login provider first in providers list

* infer StoreState from combineReducers return type

* move collapsed threads retoration to action

* fix: provider lost in other

* add dynamic threshold depending on window width

* fix & add tests
2019-07-25 22:54:59 -05:00

21 lines
485 B
TypeScript

import comments from './comments/reducers';
import postinfo from './post_info/reducers';
import sort from './sort/reducers';
import theme from './theme/reducers';
import user from './user/reducers';
import userInfo from './user-info/reducers';
import thread from './thread/reducers';
import provider from './provider/reducers';
/** Merged store reducers */
export default {
...comments,
...postinfo,
...sort,
...theme,
...user,
...userInfo,
...thread,
...provider,
};