2017-06-21 23:31:59 +00:00
|
|
|
// @flow
|
2017-06-26 22:27:55 +00:00
|
|
|
import * as generateWallet from './generateWallet';
|
|
|
|
import type { State as GenerateWalletState } from './generateWallet';
|
2017-06-12 01:00:28 +00:00
|
|
|
|
2017-06-26 22:27:55 +00:00
|
|
|
import * as config from './config';
|
|
|
|
import type { State as ConfigState } from './config';
|
|
|
|
|
|
|
|
import * as swap from './swap';
|
|
|
|
|
|
|
|
import * as notifications from './notifications';
|
|
|
|
import type { State as NotificationsState } from './notifications';
|
|
|
|
|
|
|
|
import * as ens from './ens';
|
|
|
|
import type { State as EnsState } from './ens';
|
|
|
|
|
|
|
|
import { reducer as formReducer } from 'redux-form';
|
|
|
|
import { combineReducers } from 'redux';
|
|
|
|
import { routerReducer } from 'react-router-redux';
|
|
|
|
|
|
|
|
export type State = {
|
|
|
|
generateWallet: GenerateWalletState,
|
|
|
|
conig: ConfigState,
|
|
|
|
notifications: NotificationsState,
|
|
|
|
ens: EnsState
|
|
|
|
};
|
2017-04-14 06:24:16 +00:00
|
|
|
|
2017-04-12 05:04:27 +00:00
|
|
|
export default combineReducers({
|
2017-04-18 23:34:24 +00:00
|
|
|
...generateWallet,
|
2017-04-14 06:24:16 +00:00
|
|
|
...config,
|
2017-06-12 01:00:28 +00:00
|
|
|
...swap,
|
2017-06-21 23:31:59 +00:00
|
|
|
...notifications,
|
2017-06-26 22:27:55 +00:00
|
|
|
...ens,
|
2017-04-18 23:34:24 +00:00
|
|
|
form: formReducer,
|
2017-04-12 05:04:27 +00:00
|
|
|
routing: routerReducer
|
2017-06-26 22:27:55 +00:00
|
|
|
});
|