Skip to content

Commit

Permalink
modified: src/pages/ngo/StatPage/StatsMain.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
codewarnab committed Aug 4, 2024
1 parent 24bce21 commit b55c9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ngo/StatPage/StatsMain.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Stats() {
useEffect(() => {
const fetchReports = async () => {
try {
const url = process.env.REACT_APP_BACKEND_URL;
const url = import.meta.env.VITE_BACKEND_URL;
const response = await axios.get(`${url}/api/animals`);
const data = response.data;
setReports(data);
Expand Down

0 comments on commit b55c9d8

Please sign in to comment.