diff --git a/src/pages/iou/request/step/IOURequestStepSubrate.tsx b/src/pages/iou/request/step/IOURequestStepSubrate.tsx index 1bda72212354..35700c2fc08e 100644 --- a/src/pages/iou/request/step/IOURequestStepSubrate.tsx +++ b/src/pages/iou/request/step/IOURequestStepSubrate.tsx @@ -36,7 +36,7 @@ import withFullTransactionOrNotFound from './withFullTransactionOrNotFound'; import type {WithWritableReportOrNotFoundProps} from './withWritableReportOrNotFound'; import withWritableReportOrNotFound from './withWritableReportOrNotFound'; -type IOURequestStepWaypointProps = WithWritableReportOrNotFoundProps & { +type IOURequestStepSubrateProps = WithWritableReportOrNotFoundProps & { transaction: OnyxEntry; /** The report linked to the transaction */ @@ -60,13 +60,13 @@ function getSubrateOptions(subRates: Subrate[], filledSubRates: CommentSubrate[] })); } -function IOURequestStepWaypoint({ +function IOURequestStepSubrate({ route: { params: {action, backTo, iouType, pageIndex, reportID, transactionID}, }, transaction, report, -}: IOURequestStepWaypointProps) { +}: IOURequestStepSubrateProps) { const styles = useThemeStyles(); const {canUseCombinedTrackSubmit} = usePermissions(); const policy = usePolicy(report?.policyID); @@ -163,7 +163,7 @@ function IOURequestStepWaypoint({