Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tsaqif <[email protected]>
  • Loading branch information
tsa321 committed Nov 28, 2024
1 parent 35238fb commit 7b3630a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libs/actions/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ function completeTask(taskReport: OnyxEntry<OnyxTypes.Report>) {

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.
}

/**
Expand Down Expand Up @@ -509,7 +508,6 @@ function reopenTask(taskReport: OnyxEntry<OnyxTypes.Report>) {
};

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) {
Expand Down Expand Up @@ -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<OnyxTypes.Report>) {
Expand Down Expand Up @@ -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.
}

/**
Expand Down

0 comments on commit 7b3630a

Please sign in to comment.