Skip to content

Commit

Permalink
Fixed loading spinner not showing after retrying after error for Item…
Browse files Browse the repository at this point in the history
…AutoList
  • Loading branch information
Sebastian-Webster committed Feb 2, 2024
1 parent bc19d9f commit 2de4566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/useItemReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ function returnReducer(extensions) {
if (action.type === 'startLoad') {
return {
...state,
loading: true
loading: true,
error: null
}
}

Expand Down

0 comments on commit 2de4566

Please sign in to comment.