Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Oct 26, 2021
1 parent 96ec076 commit 2d7f4bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function CodeBlock({

const lineProps = getLineProps({line, key: i});

if (highlightLines.includes(i + 1)) {
if (highlightLines.includes(i)) {
lineProps.className += ' docusaurus-highlight-code-line';
}

Expand Down

0 comments on commit 2d7f4bf

Please sign in to comment.