Sha256: 9edbdfbe5833056efa3ad3d5008ae0f568b8bfe06ebd23bc34dd2ffdcd05358d
Contents?: true
Size: 356 Bytes
Versions: 53
Compression:
Stored size: 356 Bytes
Contents
import Immutable from 'seamless-immutable'; import { SET_CLEAR_SEARCH } from './HostDetailsConstants'; const initialState = Immutable({ clearSearch: undefined }); export default (state = initialState, action) => { switch (action.type) { case SET_CLEAR_SEARCH: return state.set('clearSearch', action.payload); default: return state; } };
Version data entries
53 entries across 53 versions & 1 rubygems