diff --git a/components/TodoList.tsx b/components/TodoList.tsx index 4cd1b62..aa90620 100644 --- a/components/TodoList.tsx +++ b/components/TodoList.tsx @@ -9,18 +9,19 @@ export function TodoList( { user: { avatarUrl, assignedTodos, name, color } }: Props, ) { const todoItem = ( - { classList, description }: Pick & { - classList?: string + { className, description, hideDone }: Pick & { + className?: string + hideDone?: boolean }, ) => (
  • {description} - + {hideDone ? '' : }
  • ) return ( @@ -38,7 +39,11 @@ export function TodoList( diff --git a/routes/index.tsx b/routes/index.tsx index 452c851..4d4857e 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -37,7 +37,7 @@ export default function Home(

    Todos

    -