From 7b3630a94c3a0a18534dee73399f2aee859869a5 Mon Sep 17 00:00:00 2001 From: Tsaqif Date: Thu, 28 Nov 2024 13:26:34 +0700 Subject: [PATCH] remove comments Signed-off-by: Tsaqif --- src/libs/actions/Task.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libs/actions/Task.ts b/src/libs/actions/Task.ts index 368db53db90..12afbb086c9 100644 --- a/src/libs/actions/Task.ts +++ b/src/libs/actions/Task.ts @@ -425,7 +425,6 @@ function completeTask(taskReport: OnyxEntry) { playSound(SOUNDS.SUCCESS); API.write(WRITE_COMMANDS.COMPLETE_TASK, parameters, {optimisticData, successData, failureData}); - // Editing a task shouldn't scroll the report to the bottom, so we don't need to call Report.notifyNewAction. } /** @@ -509,7 +508,6 @@ function reopenTask(taskReport: OnyxEntry) { }; API.write(WRITE_COMMANDS.REOPEN_TASK, parameters, {optimisticData, successData, failureData}); - // Editing a task shouldn't scroll the report to the bottom, so we don't need to call Report.notifyNewAction. } function editTask(report: OnyxTypes.Report, {title, description}: OnyxTypes.Task) { @@ -586,7 +584,6 @@ function editTask(report: OnyxTypes.Report, {title, description}: OnyxTypes.Task }; API.write(WRITE_COMMANDS.EDIT_TASK, parameters, {optimisticData, successData, failureData}); - // Editing a task shouldn't scroll the report to the bottom, so we don't need to call Report.notifyNewAction. } function editTaskAssignee(report: OnyxTypes.Report, sessionAccountID: number, assigneeEmail: string, assigneeAccountID: number | null = 0, assigneeChatReport?: OnyxEntry) { @@ -725,7 +722,6 @@ function editTaskAssignee(report: OnyxTypes.Report, sessionAccountID: number, as }; API.write(WRITE_COMMANDS.EDIT_TASK_ASSIGNEE, parameters, {optimisticData, successData, failureData}); - // Editing a task shouldn't scroll the report to the bottom, so we don't need to call Report.notifyNewAction. } /**