From 635e92d7625bce26c213cdb4bed1b97a8ee627ba Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 18 Jul 2025 18:30:33 +0800 Subject: [PATCH] chore: copy --- .../app/configuration/config/automatic/result.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/app/components/app/configuration/config/automatic/result.tsx b/web/app/components/app/configuration/config/automatic/result.tsx index 858003cdb5..c7504d3ea0 100644 --- a/web/app/components/app/configuration/config/automatic/result.tsx +++ b/web/app/components/app/configuration/config/automatic/result.tsx @@ -7,6 +7,9 @@ import PromptToast from './prompt-toast' import Button from '@/app/components/base/button' import VersionSelector from './version-selector' import type { GenRes } from '@/service/debug' +import { RiClipboardLine } from '@remixicon/react' +import copy from 'copy-to-clipboard' +import Toast from '@/app/components/base/toast' type Props = { current: GenRes @@ -39,7 +42,13 @@ const Result: FC = ({ onChange={setCurrentVersionIndex} /> -
+
+