UNPKG

@kycaid/react-native-sdk

Version:
17 lines (16 loc) 518 B
import { combineReducers } from 'redux'; import { all, call } from 'redux-saga/effects'; import { formsReducer, rootFormsSaga } from './forms'; import { verificationsReducer, rootVerificationsSaga } from './verifications'; export * from './forms'; export * from './verifications'; export const rootReducer = combineReducers({ forms: formsReducer, verifications: verificationsReducer, }); export function* rootSaga() { yield all([ call(rootFormsSaga), call(rootVerificationsSaga), ]); }