From a61f1f8eb0bc4b7b0b1716334d607b5f309272bc Mon Sep 17 00:00:00 2001 From: twwu Date: Thu, 29 May 2025 17:42:00 +0800 Subject: [PATCH] refactor: replace anchor tag with Link component for navigation in Actions --- .../documents/create-from-pipeline/data-source/actions.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/app/components/datasets/documents/create-from-pipeline/data-source/actions.tsx b/web/app/components/datasets/documents/create-from-pipeline/data-source/actions.tsx index 7e3ff3df3f..35f1e519ca 100644 --- a/web/app/components/datasets/documents/create-from-pipeline/data-source/actions.tsx +++ b/web/app/components/datasets/documents/create-from-pipeline/data-source/actions.tsx @@ -3,6 +3,7 @@ import Button from '@/app/components/base/button' import { useTranslation } from 'react-i18next' import { useParams } from 'next/navigation' import { RiArrowRightLine } from '@remixicon/react' +import Link from 'next/link' type ActionsProps = { disabled?: boolean @@ -18,8 +19,9 @@ const Actions = ({ return (
- - +