import { AnyAction , combineReducers } from 'redux' ; import { AppState } from '@app/shared/interface' ; import { SharedReducer } from '@app/shared/store/reducer' ; import { AuthReducer } from '@app/containers/Auth/store/reducer' ; import { SettingsReducer } from '@app/containers/Settings/store/reducer' ; import { WalletReducer } from '@app/containers/Wallet/store/reducer' ; import { TransactionsReducer } from '@app/containers/Transactions/store/reducer' ; export default ( ) => { const appReducer = combineReducers ( { shared : SharedReducer , auth : AuthReducer , settings : SettingsReducer , wallet : WalletReducer , transactions : TransactionsReducer , } ) ; return ( state , action ) => appReducer ( state , action ) ; } ;