diff --git a/client/app/Components/Features/Session/Tasks/Components/TaskCard.tsx b/client/app/Components/Features/Session/Tasks/Components/TaskCard.tsx index 047733c..3624463 100644 --- a/client/app/Components/Features/Session/Tasks/Components/TaskCard.tsx +++ b/client/app/Components/Features/Session/Tasks/Components/TaskCard.tsx @@ -1,5 +1,5 @@ import axios from "axios"; -import { FunctionComponent } from "react"; +import { FunctionComponent, useState } from "react"; import { Status, convertStatusToNumber, @@ -10,6 +10,7 @@ import { import { useTaskStore } from "../Stores/TaskStore"; import { baseUrl, serviceUrl } from "../../../../../Constants/url"; + export const TaskCard: FunctionComponent<{ id: String; parentSession: String; @@ -80,8 +81,14 @@ export const TaskCard: FunctionComponent<{ ); case Status.Ended: + + return ( + + renderFinalValueOnClosedTasks() + + ); default: - return <>; + return <> } })()}