Skip to content

Commit

Permalink
fix: don't render list items as task items (#223)
Browse files Browse the repository at this point in the history
* fix: don't render list items as task items

* Update src/components/listItem.tsx

---------

Co-authored-by: Angus Hollands <[email protected]>
  • Loading branch information
tavin and agoose77 authored Feb 29, 2024
1 parent bbd587a commit 2b288cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/listItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function ListItem({
line?: number;
children?: any[];
}): JSX.Element {
if (checked === null) {
if (checked == null) {

Check failure on line 48 in src/components/listItem.tsx

View workflow job for this annotation

GitHub Actions / build

Expected '===' and instead saw '=='
return (
<li>
<MyST ast={children} />
Expand Down

0 comments on commit 2b288cd

Please sign in to comment.