Skip to content

Commit

Permalink
Merge pull request #6375 from varun2948/fix-frontend-dependency-osm-d…
Browse files Browse the repository at this point in the history
…ownload-issue

feat: fixed osm download destroy issue
  • Loading branch information
ramyaragupathy authored May 3, 2024
2 parents 06c215f + 72db554 commit 4de0ad8
Show file tree
Hide file tree
Showing 2 changed files with 2,453 additions and 3,045 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/projectDetail/downloadOsmData.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const DownloadOsmData = ({ projectMappingTypes, project }) => {
}, [projectMappingTypes]);

useEffect(() => {
if (!selectedCategoryFormat) return null;
if (!selectedCategoryFormat) return;
async function fetchData(url) {
const response = await fetch(url, { method: 'HEAD' });
const data = await response;
Expand Down
Loading

0 comments on commit 4de0ad8

Please sign in to comment.