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