2020-06-15 18:10:06 +02:00
|
|
|
import { combineReducers } from 'redux';
|
2020-06-18 09:48:45 +02:00
|
|
|
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,
|
2020-06-18 09:48:45 +02:00
|
|
|
auth: authReducer,
|
2020-06-15 18:10:06 +02:00
|
|
|
});
|