From 877b70679fb72861ebd976abb1134cb14ad2ec77 Mon Sep 17 00:00:00 2001 From: Arun Jain Date: Mon, 25 Nov 2024 16:27:25 +0530 Subject: [PATCH] chore: update list intem function --- src/Common/Markdown/MarkDown.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Common/Markdown/MarkDown.tsx b/src/Common/Markdown/MarkDown.tsx index ccd218be..251d8b9b 100644 --- a/src/Common/Markdown/MarkDown.tsx +++ b/src/Common/Markdown/MarkDown.tsx @@ -45,14 +45,8 @@ const MarkDown = ({ setExpandableIcon, markdown, className, breaks, disableEscap renderer.listitem = ({ text, task, checked }: Tokens.ListItem) => { if (task) { - if (checked) { - return `
  • - - ${text} -
  • ` - } return `
  • - + ${text}
  • ` }