diff --git a/src/ts/config/configureRedux.ts b/src/ts/config/configureRedux.ts index 78c24c2..5d865f2 100644 --- a/src/ts/config/configureRedux.ts +++ b/src/ts/config/configureRedux.ts @@ -1,7 +1,7 @@ import { Action, combineReducers } from 'redux'; import { routerReducer, RouterState } from 'react-router-redux'; import { SagaIterator } from 'redux-saga'; -import { Effect, fork, ForkEffect } from 'redux-saga/effects'; +import { fork } from 'redux-saga/effects'; import * as Member from 'member'; @@ -18,22 +18,3 @@ export const reducer = combineReducers({ export function* sagas(): SagaIterator { yield fork(Member.sagas); } - - -// export function* sagas(): Iterator { -// function* itor(values: {[key: string]: string | any}): Iterator { -// for (let name in values) { -// if (values.hasOwnProperty(name)) { -// let saga = values[name]; -// console.log('key:' + name + ' value:' + saga); -// if (typeof saga === 'object') { -// itor(saga); -// } else { -// yield fork(saga); -// } -// } -// } -// } - -// itor(_sagas); -// } diff --git a/src/ts/member/signin/redux/saga/signin.ts b/src/ts/member/signin/redux/saga/signin.ts index 1f7ea65..1a13f4d 100644 --- a/src/ts/member/signin/redux/saga/signin.ts +++ b/src/ts/member/signin/redux/saga/signin.ts @@ -1,5 +1,5 @@ -import { channel, takeEvery, takeLatest, SagaIterator } from 'redux-saga'; -import { call, Effect, fork, ForkEffect, put, TakeEffect } from 'redux-saga/effects'; +import { takeLatest, SagaIterator } from 'redux-saga'; +import { call, Effect, fork, put } from 'redux-saga/effects'; import Action from 'commons/redux/Action';