-
- {!inUseTracingProvider && (
- <>
+ {!inUseTracingProvider && (
+
+
{t(`${I18N_PREFIX}.title`)}
-
e.stopPropagation()}>
-
+
+
- >
- )}
- {hasConfiguredTracing && (
- <>
+
+
+ )}
+ {hasConfiguredTracing && (
+
+
@@ -243,33 +260,14 @@ const Panel: FC = () => {
{InUseProviderIcon &&
}
-
-
e.stopPropagation()}>
-
+
+
- >
- )}
-
-
+
+
+
+ )}
+
)
}
export default React.memo(Panel)
diff --git a/web/app/(commonLayout)/datasets/create/page.tsx b/web/app/(commonLayout)/datasets/create/page.tsx
index 663a830665..50fd1f5a19 100644
--- a/web/app/(commonLayout)/datasets/create/page.tsx
+++ b/web/app/(commonLayout)/datasets/create/page.tsx
@@ -1,9 +1,7 @@
import React from 'react'
import DatasetUpdateForm from '@/app/components/datasets/create'
-type Props = {}
-
-const DatasetCreation = async (props: Props) => {
+const DatasetCreation = async () => {
return (
)
diff --git a/web/app/components/app/annotation/header-opts/index.tsx b/web/app/components/app/annotation/header-opts/index.tsx
index 463ae58ac2..7347caa2f9 100644
--- a/web/app/components/app/annotation/header-opts/index.tsx
+++ b/web/app/components/app/annotation/header-opts/index.tsx
@@ -88,7 +88,8 @@ const HeaderOptions: FC
= ({
await clearAllAnnotations(appId)
onAdded()
}
- catch (_) {
+ catch (e) {
+ console.error(`failed to clear all annotations, ${e}`)
}
finally {
setShowClearConfirm(false)
diff --git a/web/app/components/apps/footer.tsx b/web/app/components/apps/footer.tsx
index 1646474876..c5efb2b8b4 100644
--- a/web/app/components/apps/footer.tsx
+++ b/web/app/components/apps/footer.tsx
@@ -39,10 +39,10 @@ const Footer = () => {