Sha256: 5e4ad02376e5f30bc4a57714b3a842de69f8b57711e0b7cd557a029e57921561
Contents?: true
Size: 354 Bytes
Versions: 40
Compression:
Stored size: 354 Bytes
Contents
import Immutable from 'seamless-immutable'; import { SET_CLEAR_SEARCH } from './SearchBarConstants'; 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
40 entries across 40 versions & 1 rubygems