Skip to content

Commit

Permalink
update packages, fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
djtaylor8 committed Nov 27, 2023
1 parent b4a5297 commit 2887b3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"react-dom": "^17.0.1",
"react-icons": "^4.3.1",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1",
"tailwind-forms": "^1.0.6"
"tailwind-forms": "^1.0.6",
"react-scripts": "^5.0.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.6",
Expand Down
2 changes: 2 additions & 0 deletions src/hooks/useFirestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const firestoreReducer = (state, action) => {
return { ...state, duplicateItemMessage: '', successMessage: '' };
case 'ERROR':
return { ...state, isLoading: false, error: true, successMessage: '' };
default:
return null;
}
};

Expand Down

0 comments on commit 2887b3c

Please sign in to comment.