From e6714953811175eaf55f2f71bfe25c49d5fcc72b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 29 Aug 2022 07:15:12 +0200 Subject: [PATCH] added description --- src/client/src/pages/todos/[todoId]/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/src/pages/todos/[todoId]/index.tsx b/src/client/src/pages/todos/[todoId]/index.tsx index 8824db3..a9bd53e 100644 --- a/src/client/src/pages/todos/[todoId]/index.tsx +++ b/src/client/src/pages/todos/[todoId]/index.tsx @@ -89,6 +89,13 @@ const TodoDetails: FC = ({ todo }) => { )} + { + todo.description && ( +
+ {todo.description} +
+ ) + } );