Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/CodeBlockWithCopy/CodeBlockWithCopy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@
: "Copy"}
</button>

<pre ref={preRef}>{children}</pre>
<pre

Check failure on line 143 in src/components/CodeBlockWithCopy/CodeBlockWithCopy.jsx

View workflow job for this annotation

GitHub Actions / Lint (ubuntu-latest, lts/*)

Replace `⏎··ref={preRef}⏎··className="overflow-x-auto·rounded-lg·p-4"⏎` with `·ref={preRef}·className="overflow-x-auto·rounded-lg·p-4"`
ref={preRef}
className="overflow-x-auto rounded-lg p-4"
>
{children}

Check failure on line 147 in src/components/CodeBlockWithCopy/CodeBlockWithCopy.jsx

View workflow job for this annotation

GitHub Actions / Lint (ubuntu-latest, lts/*)

Insert `······`
</pre>

Check failure on line 148 in src/components/CodeBlockWithCopy/CodeBlockWithCopy.jsx

View workflow job for this annotation

GitHub Actions / Lint (ubuntu-latest, lts/*)

Insert `······`
</div>
);
}
Expand Down
Loading