Sfoglia il codice sorgente

fix: api key copy fail (#186)

tags/0.2.2
Joel 2 anni fa
parent
commit
8b44dba988
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1
    2
      web/app/components/develop/secret-key/input-copy.tsx

+ 1
- 2
web/app/components/develop/secret-key/input-copy.tsx Vedi File

@@ -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(() => {

Loading…
Annulla
Salva