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 {
|
||||
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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue