Changeset 07f4e8b for frontend/src/Components/Hooks/Restaurant
- Timestamp:
- 01/24/24 17:42:28 (10 months ago)
- Branches:
- master
- Children:
- 0f5aa27
- Parents:
- 5528b99
- Location:
- frontend/src/Components/Hooks/Restaurant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Components/Hooks/Restaurant/useCreateRestaurant.js
r5528b99 r07f4e8b 15 15 .post(`/restaurant/add`, restaurant, { 16 16 params: { 17 userId: localStorage.getItem('userId')17 userId: JSON.parse(localStorage.getItem('user')).userId, 18 18 } 19 19 }) -
frontend/src/Components/Hooks/Restaurant/useCreateTable.js
r5528b99 r07f4e8b 13 13 .then((res) => { 14 14 console.log(res) 15 refresh( prev => ++prev)15 refresh(Math.random()) 16 16 //history.push('/restaurant'); 17 17 })
Note:
See TracChangeset
for help on using the changeset viewer.