From 9f89ee68a7cc8d4686126999cef2be5708fcd967 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Sun, 16 Feb 2025 20:44:02 +0800 Subject: [PATCH] modify --- web/app/components/app/annotation/header-opts/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/app/annotation/header-opts/index.tsx b/web/app/components/app/annotation/header-opts/index.tsx index 269e4eeb2c..da28c4e89b 100644 --- a/web/app/components/app/annotation/header-opts/index.tsx +++ b/web/app/components/app/annotation/header-opts/index.tsx @@ -79,9 +79,9 @@ const HeaderOptions: FC = ({ const [showBulkImportModal, setShowBulkImportModal] = useState(false) - const handleClearAll = async () => { + const handleClearAll = async () => { const isConfirmed= await confirm({ - title: t('appAnnotation.table.header.clearAllConfirm'), + message: t('appAnnotation.table.header.clearAllConfirm'), type: 'danger', }) if(isConfirmed){