diff --git a/client-app/src/Components/DonorList.tsx b/client-app/src/Components/DonorList.tsx index 8466e769..704694c6 100644 --- a/client-app/src/Components/DonorList.tsx +++ b/client-app/src/Components/DonorList.tsx @@ -34,7 +34,7 @@ const DonorList: React.FC = () => { const fetchDonors = async () => { try { const response = await axios.get( - `${process.env.REACT_APP_BACKEND_API_BASE_URL}/donor` + `${process.env.REACT_APP_BACKEND_API_BASE_URL}donor` ); console.log("Fetched donor data:", response.data); // Log the response data setCurrentDonors(response.data); // Set the fetched data