watch function edit
This commit is contained in:
@@ -39,6 +39,6 @@ function* modify(action: Action<ModifyPayload>): SagaIterator {
|
||||
}
|
||||
}
|
||||
|
||||
export function* watchEmailModify(): SagaIterator {
|
||||
export function* watchModify(): SagaIterator {
|
||||
yield takeLatest(ModifyAction.REQUEST, modify);
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@ function* read(action: Action<ReadPayload>): SagaIterator {
|
||||
}
|
||||
}
|
||||
|
||||
export function* watchEmailRead(): SagaIterator {
|
||||
export function* watchRead(): SagaIterator {
|
||||
yield takeLatest(ReadAction.REQUEST, read);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user