add ts ignore for errors
This commit is contained in:
parent
41ef6400da
commit
170ab33eee
1 changed files with 2 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ function App() {
|
||||||
try {
|
try {
|
||||||
data = await fetchData(user, "/api/listing_geojson", parameters);
|
data = await fetchData(user, "/api/listing_geojson", parameters);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
// @ts-expect-error
|
||||||
setSubmitError(error.message)
|
setSubmitError(error.message)
|
||||||
setAlertDialogIsOpen(true)
|
setAlertDialogIsOpen(true)
|
||||||
}
|
}
|
||||||
|
|
@ -98,6 +99,7 @@ function App() {
|
||||||
try {
|
try {
|
||||||
data = await fetchData(user, "/api/refresh_listings", parameters, 'POST');
|
data = await fetchData(user, "/api/refresh_listings", parameters, 'POST');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
// @ts-expect-error
|
||||||
setSubmitError(error.message)
|
setSubmitError(error.message)
|
||||||
setAlertDialogIsOpen(true)
|
setAlertDialogIsOpen(true)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue