Skip to content

Commit

Permalink
Dashboard optimisation, clickable cuisine
Browse files Browse the repository at this point in the history
  • Loading branch information
TPH777 committed Jul 26, 2024
1 parent df28686 commit 0eef88c
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 206 deletions.
180 changes: 84 additions & 96 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"test": "jest"
},
"dependencies": {
"@anatoliygatt/heart-switch": "^1.0.13",
Expand Down
1 change: 1 addition & 0 deletions src/components/Add.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const Add = ({ getFoodList, setIsAdding }: AddProps) => {
imageURL: imageURL,
imagePath: imagePath,
cuisine: cuisine,
favoriteCount: 0,
};
await addDoc(collection(db, "food"), newFood);
setIsAdding(false);
Expand Down
Loading

0 comments on commit 0eef88c

Please sign in to comment.