diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index 5922da9dc181..7bcb82861769 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -1278,7 +1278,7 @@ function deleteReportComment(reportID: string, reportAction: ReportAction) { API.write(WRITE_COMMANDS.DELETE_COMMENT, parameters, {optimisticData, successData, failureData}); - // if we are linking to the report action we are deleting and it's not a deleted parent action, + // if we are linking to the report action, and we are deleting it, and it's not a deleted parent action, // we should navigate to its report in order to not show not found page if (Navigation.isActiveRoute(ROUTES.REPORT_WITH_ID.getRoute(reportID, reportActionID)) && !isDeletedParentAction) { Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(reportID), true);