Skip to content

Commit

Permalink
Merge pull request #68 from oss-slu/38-display-donor
Browse files Browse the repository at this point in the history
Leading slash removed
  • Loading branch information
Anjali0407-git authored Nov 9, 2024
2 parents d02e7b1 + 14943ad commit f5fd394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-app/src/Components/DonorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const DonorList: React.FC = () => {
const fetchDonors = async () => {
try {
const response = await axios.get<Donor[]>(
`${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
Expand Down

0 comments on commit f5fd394

Please sign in to comment.