This commit is contained in:
lyf 2024-09-23 15:43:36 +08:00
parent 35aa2c7270
commit d95d509046
1 changed files with 0 additions and 1 deletions

View File

@ -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 ?? "",
);