Skip to content

Commit

Permalink
fix: don't render list items as task items
Browse files Browse the repository at this point in the history
  • Loading branch information
tavin committed Feb 28, 2024
1 parent bbd587a commit 6850ef5
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 === undefined) {
return (
<li>
<MyST ast={children} />
Expand Down

0 comments on commit 6850ef5

Please sign in to comment.