Skip to content

Commit 85d7a92

Browse files
committed
fix lint
1 parent 3869c4e commit 85d7a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ReportActionItem/MoneyRequestView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function MoneyRequestView({
244244
const canEditDistanceRate = isEditable && canEditFieldOfMoneyRequest(parentReportAction, CONST.EDIT_REQUEST_FIELD.DISTANCE_RATE, undefined, isChatReportArchived);
245245
const canEditReport = useMemo(
246246
() => isEditable && canEditFieldOfMoneyRequest(parentReportAction, CONST.EDIT_REQUEST_FIELD.REPORT, undefined, isChatReportArchived, outstandingReportsByPolicyID),
247-
[isEditable, parentReportAction, isChatReportArchived, outstandingReportsByPolicyID, readonly],
247+
[isEditable, parentReportAction, isChatReportArchived, outstandingReportsByPolicyID],
248248
);
249249

250250
// A flag for verifying that the current report is a sub-report of a expense chat

0 commit comments

Comments
 (0)