Sha256: 0f0f69e238090a2497ffe95e9e77b3066edc2fee7f2832879766b347e4de3d3d

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

import * as types from '../constants/ActionTypes'

const initialState = {
  storages: []
}

export default function(state = initialState, action) {
  switch (action.type) {
  case types.STORAGE_RECEIVE:
    return {
      ...state,
      storages: action.storages
    }
  default:
    return state
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 store/private/static/app/reducers/inventory.js
bouquet-0.2.1 store/private/static/app/reducers/inventory.js
bouquet-0.2.0 store/private/static/app/reducers/inventory.js