Changeset 8ca35dc for my-react-app/src/components/CuisineContext.js
- Timestamp:
- 01/19/25 23:18:37 (4 months ago)
- Branches:
- main
- Children:
- f5b256e
- Parents:
- db39d9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
my-react-app/src/components/CuisineContext.js
rdb39d9e r8ca35dc 10 10 const fetchCuisineTypes = async () => { 11 11 try { 12 const response = await axios.get('http://localhost:808 0/api/cuisineTypes');12 const response = await axios.get('http://localhost:8081/api/cuisineTypes'); 13 13 setCuisineTypes(response.data); 14 14 } catch (error) {
Note:
See TracChangeset
for help on using the changeset viewer.