Changeset 0f5aa27 for frontend/src/Components/Hooks/Restaurant
- Timestamp:
- 02/04/24 16:57:49 (10 months ago)
- Branches:
- master
- Children:
- efaa053
- Parents:
- 07f4e8b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Components/Hooks/Restaurant/useCreateMenu.js
r07f4e8b r0f5aa27 7 7 const navigator = useNavigate(); 8 8 9 const createMenu = async (id, menu ) => {9 const createMenu = async (id, menu, dep) => { 10 10 console.log(menu) 11 11 console.log(id) … … 18 18 //navigator("/resources/restaurant/" + id) 19 19 //history.push('/restaurant'); 20 dep(prev => ++prev) 20 21 }) 21 22 .catch((err) => {
Note:
See TracChangeset
for help on using the changeset viewer.