PURPOSE
call Meal APIs and get a categories list using react-query
quangthan's feedback
in Next.js, a reserved folder name called "api" can be used inside the folder "pages" to create backend, so please consider changing "api.js" to something else
move BASE_PATH const in "api.js" to file "constants.js" for consistency
PURPOSE call Meal APIs and get a categories list using react-query
quangthan's feedback
works I fix call Apis functions like quangthan's codebox.
-after-