daddy/client/src/store/reducers/root.ts

13 lines
307 B
TypeScript
Raw Normal View History

2020-06-15 18:10:06 +02:00
import { combineReducers } from 'redux';
import { flagsReducer, FlagsState } from './flags';
import { authReducer, AuthState } from './auth';
export interface RootState {
auth: AuthState,
flags: FlagsState,
}
2020-06-15 18:10:06 +02:00
export const rootReducer = combineReducers({
flags: flagsReducer,
auth: authReducer,
2020-06-15 18:10:06 +02:00
});