add ts ignore for errors

This commit is contained in:
Viktor Barzin 2025-06-21 18:51:06 +00:00
parent 41ef6400da
commit 170ab33eee
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -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)
}