diff --git a/crawler/frontend/src/App.tsx b/crawler/frontend/src/App.tsx index fcc9ca9..68c116f 100644 --- a/crawler/frontend/src/App.tsx +++ b/crawler/frontend/src/App.tsx @@ -88,6 +88,7 @@ function App() { try { data = await fetchData(user, "/api/listing_geojson", parameters); } catch (error) { + // @ts-expect-error setSubmitError(error.message) setAlertDialogIsOpen(true) } @@ -98,6 +99,7 @@ function App() { try { data = await fetchData(user, "/api/refresh_listings", parameters, 'POST'); } catch (error) { + // @ts-expect-error setSubmitError(error.message) setAlertDialogIsOpen(true) }