Skip to content

Commit

Permalink
Renaming component
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Jan 7, 2025
1 parent 35c0bd7 commit 57f1e3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/iou/request/step/IOURequestStepSubrate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import withFullTransactionOrNotFound from './withFullTransactionOrNotFound';
import type {WithWritableReportOrNotFoundProps} from './withWritableReportOrNotFound';
import withWritableReportOrNotFound from './withWritableReportOrNotFound';

type IOURequestStepWaypointProps = WithWritableReportOrNotFoundProps<typeof SCREENS.MONEY_REQUEST.STEP_SUBRATE> & {
type IOURequestStepSubrateProps = WithWritableReportOrNotFoundProps<typeof SCREENS.MONEY_REQUEST.STEP_SUBRATE> & {
transaction: OnyxEntry<OnyxTypes.Transaction>;

/** The report linked to the transaction */
Expand All @@ -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);
Expand Down Expand Up @@ -163,7 +163,7 @@ function IOURequestStepWaypoint({
<ScreenWrapper
includeSafeAreaPaddingBottom
shouldEnableMaxHeight
testID={IOURequestStepWaypoint.displayName}
testID={IOURequestStepSubrate.displayName}
>
<FullPageNotFoundView shouldShow={shouldDisableEditor}>
<HeaderWithBackButton
Expand Down Expand Up @@ -233,6 +233,6 @@ function IOURequestStepWaypoint({
);
}

IOURequestStepWaypoint.displayName = 'IOURequestStepWaypoint';
IOURequestStepSubrate.displayName = 'IOURequestStepSubrate';

export default withWritableReportOrNotFound(withFullTransactionOrNotFound(IOURequestStepWaypoint));
export default withWritableReportOrNotFound(withFullTransactionOrNotFound(IOURequestStepSubrate));

0 comments on commit 57f1e3a

Please sign in to comment.