Changeset 8ca35dc for my-react-app/src/components/CustomerContext.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/CustomerContext.js
rdb39d9e r8ca35dc 10 10 const fetchCustomers = async () => { 11 11 try { 12 const response = await axios.get("http://localhost:808 0/api/customers");12 const response = await axios.get("http://localhost:8081/api/customers"); 13 13 setCustomers(response.data) 14 14 } catch (error) {
Note:
See TracChangeset
for help on using the changeset viewer.