diff --git a/web/app/components/app/overview/embedded/index.tsx b/web/app/components/app/overview/embedded/index.tsx index 3b150d70870c37..09c6838e1fd474 100644 --- a/web/app/components/app/overview/embedded/index.tsx +++ b/web/app/components/app/overview/embedded/index.tsx @@ -1,9 +1,9 @@ import React, { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import copy from 'copy-to-clipboard' import style from './style.module.css' import Modal from '@/app/components/base/modal' -import useCopyToClipboard from '@/hooks/use-copy-to-clipboard' import copyStyle from '@/app/components/app/chat/copy-btn/style.module.css' import Tooltip from '@/app/components/base/tooltip' import { useAppContext } from '@/context/app-context' @@ -52,7 +52,6 @@ const Embedded = ({ isShow, onClose, appBaseUrl, accessToken }: Props) => { const { t } = useTranslation() const [option, setOption] = useState