cosmo-ui
Version:
Common React components
13 lines (10 loc) • 448 B
text/typescript
import { Observable } from 'rxjs'
import { combineEpics, ActionsObservable } from 'redux-observable'
import { Store } from 'redux'
import { AddressAction } from '../actions'
import { SEARCH_ADDRESS } from '../constants'
export const searchAddressSuccess =
(action$: ActionsObservable<AddressAction>, store: Store<any>) =>
action$.ofType(SEARCH_ADDRESS.SUCCESS)
.map((action: any): any =>
({type: 'NULL'}))