diff --git a/web/app/components/develop/secret-key/input-copy.tsx b/web/app/components/develop/secret-key/input-copy.tsx index 7cb88138f..8ad1b78da 100644 --- a/web/app/components/develop/secret-key/input-copy.tsx +++ b/web/app/components/develop/secret-key/input-copy.tsx @@ -1,6 +1,6 @@ 'use client' import React, { useEffect, useState } from 'react' -import useCopyToClipboard from '@/hooks/use-copy-to-clipboard' +import copy from 'copy-to-clipboard' import Tooltip from '@/app/components/base/tooltip' import { t } from 'i18next' import s from './style.module.css' @@ -18,7 +18,6 @@ const InputCopy = ({ readOnly = true, children, }: IInputCopyProps) => { - const [_, copy] = useCopyToClipboard() const [isCopied, setIsCopied] = useState(false) useEffect(() => {