mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
18 lines
627 B
JavaScript
18 lines
627 B
JavaScript
import { combineReducers } from 'redux'
|
|
import metamaskReducer from './metamask/metamask'
|
|
import localeMessagesReducer from './locale/locale'
|
|
import sendReducer from './send/send.duck'
|
|
import appStateReducer from './app/app'
|
|
import confirmTransactionReducer from './confirm-transaction/confirm-transaction.duck'
|
|
import gasReducer from './gas/gas.duck'
|
|
|
|
export default combineReducers({
|
|
activeTab: (s) => (s === undefined ? null : s),
|
|
metamask: metamaskReducer,
|
|
appState: appStateReducer,
|
|
send: sendReducer,
|
|
confirmTransaction: confirmTransactionReducer,
|
|
gas: gasReducer,
|
|
localeMessages: localeMessagesReducer,
|
|
})
|