import { Reducer } from 'redux' ; import { TxSection } from '../../state/txs' ; import { ITxRemove } from '../actions/actionTypes' ; export const TxRemoveReducer = ( state , action ) : TxSection => ( { ... state , [ action . tx_hash ] : undefined } ) ;