mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-08 18:36:53 +08:00
fix(web): fix style override issue (#713)
This commit is contained in:
@@ -8,11 +8,6 @@ function useCopyToClipboard(): [CopiedValue, CopyFn] {
|
||||
const [copiedText, setCopiedText] = useState<CopiedValue>(null)
|
||||
|
||||
const copy: CopyFn = useCallback(async (text: string) => {
|
||||
if (!navigator?.clipboard) {
|
||||
console.warn('Clipboard not supported')
|
||||
return false
|
||||
}
|
||||
|
||||
try {
|
||||
writeText(text)
|
||||
setCopiedText(text)
|
||||
|
||||
Reference in New Issue
Block a user