MyCrypto/common/features/ens/reducer.ts

11 lines
400 B
TypeScript

import { combineReducers } from 'redux';
import { ensDomainRequestsReducer } from './domainRequests';
import { ensDomainSelectorReducer } from './domainSelector';
import * as types from './types';
export const ensReducer = combineReducers<types.ENSState>({
domainSelector: ensDomainSelectorReducer.ensDomainSelectorReducer,
domainRequests: ensDomainRequestsReducer.ensDomainRequestsReducer
});