Ignore:
Timestamp:
02/04/24 16:57:49 (10 months ago)
Author:
darsov2 <62809499+darsov2@…>
Branches:
master
Children:
efaa053
Parents:
07f4e8b
Message:

ouath, mailing impl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/Components/Hooks/Restaurant/useCreateMenu.js

    r07f4e8b r0f5aa27  
    77        const navigator = useNavigate();
    88
    9     const createMenu = async (id, menu) => {
     9    const createMenu = async (id, menu, dep) => {
    1010                console.log(menu)
    1111        console.log(id)
     
    1818                                        //navigator("/resources/restaurant/" + id)
    1919                        //history.push('/restaurant');
     20                                        dep(prev => ++prev)
    2021                    })
    2122                    .catch((err) => {
Note: See TracChangeset for help on using the changeset viewer.