diff --git a/hooks/useItemReducer.js b/hooks/useItemReducer.js index 9a21ea7..8ef8d19 100644 --- a/hooks/useItemReducer.js +++ b/hooks/useItemReducer.js @@ -5,7 +5,8 @@ function returnReducer(extensions) { if (action.type === 'startLoad') { return { ...state, - loading: true + loading: true, + error: null } }