diff --git a/html/static/js/address-or-report-suggestion.js b/html/static/js/address-or-report-suggestion.js
index 7ee9cb29..92a6098c 100644
--- a/html/static/js/address-or-report-suggestion.js
+++ b/html/static/js/address-or-report-suggestion.js
@@ -94,6 +94,7 @@ class AddressOrReportInput extends HTMLElement {
return data.features;
} catch (error) {
console.error('Error fetching geocoding suggestions:', error);
+ return [];
}
}
@@ -105,6 +106,7 @@ class AddressOrReportInput extends HTMLElement {
return data.reports;
} catch (error) {
console.error("Error fetching report suggestions:", error);
+ return [];
}
}