From 5befba4435e21f54dc1f8bd6f46805d575391508 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Mon, 9 Jun 2025 16:08:05 +0800 Subject: [PATCH] update --- .../components/datasets/create/website/base/url-input.tsx | 4 +++- .../datasets/create/website/jina-reader/base/url-input.tsx | 4 +++- web/context/i18n.ts | 7 ++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/web/app/components/datasets/create/website/base/url-input.tsx b/web/app/components/datasets/create/website/base/url-input.tsx index b7dc9bfca5..ab965bebc3 100644 --- a/web/app/components/datasets/create/website/base/url-input.tsx +++ b/web/app/components/datasets/create/website/base/url-input.tsx @@ -4,6 +4,7 @@ import React, { useCallback, useState } from 'react' import { useTranslation } from 'react-i18next' import Input from './input' import Button from '@/app/components/base/button' +import { useDocLink } from '@/context/i18n' const I18N_PREFIX = 'datasetCreation.stepOne.website' @@ -17,6 +18,7 @@ const UrlInput: FC = ({ onRun, }) => { const { t } = useTranslation() + const docLink = useDocLink() const [url, setUrl] = useState('') const handleUrlChange = useCallback((url: string | number) => { setUrl(url as string) @@ -32,7 +34,7 @@ const UrlInput: FC = ({