From 27f6d51d49dd3bde7f6363ad69aa1ff438670cb3 Mon Sep 17 00:00:00 2001 From: Thomas L Fagermyr Date: Mon, 25 Nov 2024 13:05:12 +0100 Subject: [PATCH] chore: Remove comment --- .../CaseResultView/ObjectCaseResult/ResultArea/ResultArea.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/features/Results/CaseResult/CaseResultView/ObjectCaseResult/ResultArea/ResultArea.tsx b/src/features/Results/CaseResult/CaseResultView/ObjectCaseResult/ResultArea/ResultArea.tsx index c19e221..7fe9314 100644 --- a/src/features/Results/CaseResult/CaseResultView/ObjectCaseResult/ResultArea/ResultArea.tsx +++ b/src/features/Results/CaseResult/CaseResultView/ObjectCaseResult/ResultArea/ResultArea.tsx @@ -76,11 +76,8 @@ export const ResultArea = ({ const updateStatus = (checked: boolean) => { if (checked) { putUpdateobject(ResultStatus.PUBLISH); - // updateObjectResult({ ...data, status: ResultStatus.PUBLISH }); } else { putUpdateobject(ResultStatus.DRAFT); - - // updateObjectResult({ ...data, status: ResultStatus.DRAFT }); } };