Searching

This commit is contained in:
James Barnsley
2017-01-16 18:31:06 +13:00
parent 8aba61edb0
commit cb41a24dbd
8 changed files with 182 additions and 52 deletions

View File

@ -12,7 +12,9 @@ const localstorageMiddleware = (function(){
// append our state to a global variable. This gives us access to debug the store at any point
window._store = store
//console.log(action)
// if debug enabled
if (store.getState().ui.log_actions) console.log(action)
switch( action.type ){