Skip to content

Commit

Permalink
fex
Browse files Browse the repository at this point in the history
  • Loading branch information
mayfwl committed Sep 23, 2024
1 parent 35aa2c7 commit d95d509
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? "",
);
Expand Down

0 comments on commit d95d509

Please sign in to comment.