diff --git a/components/location/LocationForm.js b/components/location/LocationForm.js index 885b4e8..df06282 100644 --- a/components/location/LocationForm.js +++ b/components/location/LocationForm.js @@ -38,8 +38,9 @@ export default function LocationForm() { useEffect(() => { const fetchUploadedImages = async () => { try { - const response = await axiosInstance.get('/uploaded-images'); - setUploadedImages(response.data.imageUrls); + // ToDo: we don't have this endpoint yet and we don't use the uploaded images collection + // const response = await axiosInstance.get('/uploaded-images'); + // setUploadedImages(response.data.imageUrls); } catch (error) { console.error('Error fetching uploaded images:', error); }