From 2b288cdd08394575aa2d87c0bc55caed9f3254a4 Mon Sep 17 00:00:00 2001 From: Tavin Cole Date: Thu, 29 Feb 2024 08:50:28 +0000 Subject: [PATCH] fix: don't render list items as task items (#223) * fix: don't render list items as task items * Update src/components/listItem.tsx --------- Co-authored-by: Angus Hollands --- src/components/listItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/listItem.tsx b/src/components/listItem.tsx index 8e6cb6d..cd0eaf4 100644 --- a/src/components/listItem.tsx +++ b/src/components/listItem.tsx @@ -45,7 +45,7 @@ export function ListItem({ line?: number; children?: any[]; }): JSX.Element { - if (checked === null) { + if (checked == null) { return (