diff --git a/src/view/Components/Taskview/Dailiesview/DailyItem.tsx b/src/view/Components/Taskview/Dailiesview/DailyItem.tsx index 4443cd3..6b173b6 100644 --- a/src/view/Components/Taskview/Dailiesview/DailyItem.tsx +++ b/src/view/Components/Taskview/Dailiesview/DailyItem.tsx @@ -4,7 +4,11 @@ import renderMarkdown from "../markdownRender"; function DailyItem(props: any) { var text_html = renderMarkdown(props.daily_text); - var note_html = renderMarkdown(props.daily_notes); + + if (props.daily_notes) { + var note_html = renderMarkdown(props.daily_notes); + } + return (