lint: fix issue of no-unused-vars (#23375)

This commit is contained in:
Matri Qi
2025-08-05 11:12:30 +08:00
committed by GitHub
parent b946378b38
commit 75f722a959
14 changed files with 23 additions and 28 deletions

View File

@@ -88,7 +88,8 @@ const HeaderOptions: FC<Props> = ({
await clearAllAnnotations(appId)
onAdded()
}
catch (_) {
catch (e) {
console.error(`failed to clear all annotations, ${e}`)
}
finally {
setShowClearConfirm(false)