mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-28 00:20:16 +09:00
fex
This commit is contained in:
parent
35aa2c7270
commit
d95d509046
@ -128,7 +128,6 @@ export function PreCode(props: { children: any }) {
|
||||
className="copy-code-button"
|
||||
onClick={() => {
|
||||
if (ref.current) {
|
||||
// const code = ref.current.innerText;
|
||||
copyToClipboard(
|
||||
ref.current.querySelector("code")?.innerText ?? "",
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user