You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
import { combineReducers } from 'redux';
|
|
import { ALERT_TYPES } from '../../shared/constants/alerts';
|
|
import metamaskReducer from './metamask/metamask';
|
|
import localeMessagesReducer from './locale/locale';
|
|
import sendReducer from './send/send';
|
|
import domainReducer from './domains';
|
|
import appStateReducer from './app/app';
|
|
import confirmTransactionReducer from './confirm-transaction/confirm-transaction.duck';
|
|
import gasReducer from './gas/gas.duck';
|
|
import { invalidCustomNetwork, unconnectedAccount } from './alerts';
|
|
import swapsReducer from './swaps/swaps';
|
|
import historyReducer from './history/history';
|
|
|
|
export default combineReducers({
|
|
[ALERT_TYPES.invalidCustomNetwork]: invalidCustomNetwork,
|
|
[ALERT_TYPES.unconnectedAccount]: unconnectedAccount,
|
|
activeTab: (s) => (s === undefined ? null : s),
|
|
metamask: metamaskReducer,
|
|
appState: appStateReducer,
|
|
DNS: domainReducer,
|
|
history: historyReducer,
|
|
send: sendReducer,
|
|
confirmTransaction: confirmTransactionReducer,
|
|
swaps: swapsReducer,
|
|
gas: gasReducer,
|
|
localeMessages: localeMessagesReducer,
|
|
});
|
|
|