import httpGet from 'cerebral-module-http/get'
import {set} from 'cerebral/operators'
import setItems from '../actions/setItems'
import retrieveItemsFromLocalStorage from '../actions/retrieveItemsFromLocalStorage'
import storeItemsInLocalStorage from '../actions/storeItemsInLocalStorage'

export default [
  retrieveItemsFromLocalStorage,
  setItems,
  set('state:app.isLoadingItems', true),
  httpGet('/items'), {
    success: [
      setItems
    ],
    error: [
      set('state:app.error', 'Could not load the items, try again')
    ]
  },
  set('state:app.isLoadingItems', false),
  storeItemsInLocalStorage
]

@@ -1,22 +1,24 @@
 import 
+%7B
 httpGet
+%7D
  from 'c
@@ -40,12 +40,8 @@
 http
-/get
 '%0Aim

update httpGet import statement