lyf 1 年之前
父節點
當前提交
d95d509046
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      app/components/markdown.tsx

+ 0 - 1
app/components/markdown.tsx

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