Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MoneyRequestSelectorPage.js and copy any changes since Nov 27 into IOURequestStartPage.js. #35455

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dae08c9
Remove MoneyRequestSelectorPage.js and copy any changes since Nov 27 …
Krishna2323 Jan 31, 2024
ff8b9a3
Merge branch 'main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 3, 2024
cdaa1aa
remove redundant code and old component.
Krishna2323 Feb 3, 2024
b915c4e
remove redundant code and comment
Krishna2323 Feb 3, 2024
2c93aef
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Feb 6, 2024
8325c22
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Feb 6, 2024
0824fb9
update startMoneyRequest_temporaryForRefactor to startMoneyRequest.
Krishna2323 Feb 6, 2024
4e69672
remove: unused routes from ROUTES.ts
Krishna2323 Feb 6, 2024
013376d
minor fix.
Krishna2323 Feb 6, 2024
423af4e
updated sendMoney callback dependencies.
Krishna2323 Feb 6, 2024
4bed3d0
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 7, 2024
c6b0ffe
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 9, 2024
4c6f886
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 13, 2024
92789b5
Remove redundant constants for the old screen names.
Krishna2323 Feb 13, 2024
53f913f
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 14, 2024
dfd6b8b
removed MoneyRequest route.
Krishna2323 Feb 14, 2024
53edc67
minor fix.
Krishna2323 Feb 14, 2024
06cc5b4
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 17, 2024
2b53cb3
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Feb 22, 2024
ecefca7
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 22, 2024
8b2a982
minor fic.
Krishna2323 Feb 22, 2024
5bb76c1
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 22, 2024
2e8fc66
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Feb 23, 2024
6bea0f8
Merge branch 'krishna2323/remove/redundant/34613' of https://github.c…
Krishna2323 Feb 23, 2024
34ed2fa
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 24, 2024
59b8d60
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 25, 2024
24fb17b
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Feb 26, 2024
3b9f478
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Mar 3, 2024
a3115ba
fix failing typechecks.
Krishna2323 Mar 3, 2024
3ad7a4f
fix route iou type for send.
Krishna2323 Mar 4, 2024
b1df87f
rename startMoneyRestartMoneyRequestquest_temporaryForRefactor.
Krishna2323 Mar 8, 2024
82327ed
Merge branch 'main' of https://github.com/Krishna2323/App into krishn…
Krishna2323 Mar 8, 2024
2d15cca
minor fix.
Krishna2323 Mar 8, 2024
24c6f46
minor fixes.
Krishna2323 Mar 9, 2024
6ba7f40
Merge branch 'Expensify:main' into krishna2323/remove/redundant/34613
Krishna2323 Mar 12, 2024
6c6ed85
update according to all NAB suggestions.
Krishna2323 Mar 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,6 @@ const ROUTES = {
route: 'r/:reportID/invite',
getRoute: (reportID: string) => `r/${reportID}/invite` as const,
},

// To see the available iouType, please refer to CONST.IOU.TYPE
MONEY_REQUEST: {
route: ':iouType/new/:reportID?',
getRoute: (iouType: string, reportID = '') => `${iouType}/new/${reportID}` as const,
},
Krishna2323 marked this conversation as resolved.
Show resolved Hide resolved
MONEY_REQUEST_AMOUNT: {
route: ':iouType/new/amount/:reportID?',
getRoute: (iouType: string, reportID = '') => `${iouType}/new/amount/${reportID}` as const,
Expand Down Expand Up @@ -314,13 +308,6 @@ const ROUTES = {
route: ':iouType/new/address/:reportID?',
getRoute: (iouType: string, reportID = '') => `${iouType}/new/address/${reportID}` as const,
},
MONEY_REQUEST_DISTANCE_TAB: {
route: ':iouType/new/:reportID?/distance',
getRoute: (iouType: string, reportID = '') => `${iouType}/new/${reportID}/distance` as const,
},
MONEY_REQUEST_MANUAL_TAB: ':iouType/new/:reportID?/manual',
MONEY_REQUEST_SCAN_TAB: ':iouType/new/:reportID?/scan',

Krishna2323 marked this conversation as resolved.
Show resolved Hide resolved
MONEY_REQUEST_CREATE: {
route: 'create/:iouType/start/:transactionID/:reportID',
getRoute: (iouType: ValueOf<typeof CONST.IOU.TYPE>, transactionID: string, reportID: string) => `create/${iouType}/start/${transactionID}/${reportID}` as const,
Expand Down
4 changes: 0 additions & 4 deletions src/SCREENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ const SCREENS = {
WORKSPACE_JOIN_USER: 'WorkspaceJoinUser',

MONEY_REQUEST: {
MANUAL_TAB: 'manual',
SCAN_TAB: 'scan',
DISTANCE_TAB: 'distance',
CREATE: 'Money_Request_Create',
HOLD: 'Money_Request_Hold_Reason',
STEP_CONFIRMATION: 'Money_Request_Step_Confirmation',
Expand All @@ -151,7 +148,6 @@ const SCREENS = {
STEP_WAYPOINT: 'Money_Request_Step_Waypoint',
STEP_TAX_AMOUNT: 'Money_Request_Step_Tax_Amount',
STEP_TAX_RATE: 'Money_Request_Step_Tax_Rate',
ROOT: 'Money_Request',
AMOUNT: 'Money_Request_Amount',
PARTICIPANTS: 'Money_Request_Participants',
CONFIRMATION: 'Money_Request_Confirmation',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ function MoneyTemporaryForRefactorRequestConfirmationList({
// Do not hide fields in case of send money request
const shouldShowAllFields = isDistanceRequest || shouldExpandFields || !shouldShowSmartScanFields || isTypeSend || isEditingSplitBill;

const shouldShowDate = shouldShowSmartScanFields || isDistanceRequest;
const shouldShowMerchant = shouldShowSmartScanFields && !isDistanceRequest;
const shouldShowDate = (shouldShowSmartScanFields || isDistanceRequest) && !isTypeSend;
const shouldShowMerchant = shouldShowSmartScanFields && !isDistanceRequest && !isTypeSend;
Comment on lines +270 to +271
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you explain why do we have those changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we don't show date & merchant option when sending.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you share any ref link (for example GH issue/discussion) so I can cross-check? Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current send flow also don't allow merchant and date, I just copied this from old component.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Krishna2323 nice. Could you share the link to that code from the old component? Thanks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Krishna2323 in meanwhile, could you fix the TS error? THanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DylanDylann can you pls update here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you quickly check if we need to copy any changes from MoneyRequestConfirmPage => IOURequestStepConfirmation

Yes, we need to do that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hoangzinh bump

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Krishna2323 according to his PR here https://github.com/Expensify/App/pull/35461/files#diff-5e4afd2b33b309cd8b0ddee94902568e7abbcf32a83df362df5555767816ac71 It appears that there is no updates from MoneyRequestConfirmPage. So I think we're good to go. What do you think?


const policyTagLists = useMemo(() => PolicyUtils.getTagLists(policyTags), [policyTags]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const MoneyRequestModalStackNavigator = createModalStackNavigator<MoneyRequestNa
[SCREENS.MONEY_REQUEST.STEP_SCAN]: () => require('../../../pages/iou/request/step/IOURequestStepScan').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.STEP_TAG]: () => require('../../../pages/iou/request/step/IOURequestStepTag').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.STEP_WAYPOINT]: () => require('../../../pages/iou/request/step/IOURequestStepWaypoint').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.ROOT]: () => require('../../../pages/iou/MoneyRequestSelectorPage').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.AMOUNT]: () => require('../../../pages/iou/steps/NewRequestAmountPage').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.PARTICIPANTS]: () => require('../../../pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage').default as React.ComponentType,
[SCREENS.MONEY_REQUEST.CONFIRMATION]: () => require('../../../pages/iou/steps/MoneyRequestConfirmPage').default as React.ComponentType,
Expand Down
18 changes: 0 additions & 18 deletions src/libs/Navigation/linkingConfig/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,24 +466,6 @@ const config: LinkingOptions<RootStackParamList>['config'] = {
[SCREENS.MONEY_REQUEST.STEP_SCAN]: ROUTES.MONEY_REQUEST_STEP_SCAN.route,
[SCREENS.MONEY_REQUEST.STEP_TAG]: ROUTES.MONEY_REQUEST_STEP_TAG.route,
[SCREENS.MONEY_REQUEST.STEP_WAYPOINT]: ROUTES.MONEY_REQUEST_STEP_WAYPOINT.route,
[SCREENS.MONEY_REQUEST.ROOT]: {
Krishna2323 marked this conversation as resolved.
Show resolved Hide resolved
path: ROUTES.MONEY_REQUEST.route,
exact: true,
screens: {
[SCREENS.MONEY_REQUEST.MANUAL_TAB]: {
path: ROUTES.MONEY_REQUEST_MANUAL_TAB,
exact: true,
},
[SCREENS.MONEY_REQUEST.SCAN_TAB]: {
path: ROUTES.MONEY_REQUEST_SCAN_TAB,
exact: true,
},
[SCREENS.MONEY_REQUEST.DISTANCE_TAB]: {
path: ROUTES.MONEY_REQUEST_DISTANCE_TAB.route,
exact: true,
},
},
},
Krishna2323 marked this conversation as resolved.
Show resolved Hide resolved
[SCREENS.MONEY_REQUEST.AMOUNT]: ROUTES.MONEY_REQUEST_AMOUNT.route,
[SCREENS.MONEY_REQUEST.STEP_TAX_AMOUNT]: ROUTES.MONEY_REQUEST_STEP_TAX_AMOUNT.route,
[SCREENS.MONEY_REQUEST.STEP_TAX_RATE]: ROUTES.MONEY_REQUEST_STEP_TAX_RATE.route,
Expand Down
1 change: 0 additions & 1 deletion src/libs/Navigation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ type RoomInviteNavigatorParamList = {
};

type MoneyRequestNavigatorParamList = {
[SCREENS.MONEY_REQUEST.ROOT]: undefined;
[SCREENS.MONEY_REQUEST.AMOUNT]: undefined;
[SCREENS.MONEY_REQUEST.PARTICIPANTS]: {
iouType: string;
Expand Down
11 changes: 2 additions & 9 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function updateMoneyRequestTypeParams(routes: StackNavigationState<ParamListBase
}

// eslint-disable-next-line @typescript-eslint/naming-convention
function startMoneyRequest_temporaryForRefactor(iouType: ValueOf<typeof CONST.IOU.TYPE>, reportID: string) {
function startMoneyRequest(iouType: ValueOf<typeof CONST.IOU.TYPE>, reportID: string) {
clearMoneyRequest(CONST.IOU.OPTIMISTIC_TRANSACTION_ID);
Navigation.navigate(ROUTES.MONEY_REQUEST_CREATE.getRoute(iouType, CONST.IOU.OPTIMISTIC_TRANSACTION_ID, reportID));
}
Expand Down Expand Up @@ -4111,12 +4111,6 @@ function setMoneyRequestParticipantsFromReport(transactionID: string, report: On
Onyx.merge(`${ONYXKEYS.COLLECTION.TRANSACTION_DRAFT}${transactionID}`, {participants, participantsAutoAssigned: true});
}

/** Initialize money request info and navigate to the MoneyRequest page */
function startMoneyRequest(iouType: string, reportID = '') {
Krishna2323 marked this conversation as resolved.
Show resolved Hide resolved
resetMoneyRequestInfo(`${iouType}${reportID}`);
Navigation.navigate(ROUTES.MONEY_REQUEST.getRoute(iouType, reportID));
}

function setMoneyRequestId(id: string) {
Onyx.merge(ONYXKEYS.IOU, {id});
}
Expand Down Expand Up @@ -4346,9 +4340,8 @@ export {
submitReport,
payMoneyRequest,
sendMoneyWithWallet,
startMoneyRequest,
initMoneyRequest,
startMoneyRequest_temporaryForRefactor,
startMoneyRequest,
resetMoneyRequestInfo,
clearMoneyRequest,
updateMoneyRequestTypeParams,
Expand Down
8 changes: 4 additions & 4 deletions src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import * as Welcome from '@userActions/Welcome';
import CONFIG from '@src/CONFIG';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import type {HybridAppRoute, Route as Routes} from '@src/ROUTES';
import type {HybridAppRoute, Route} from '@src/ROUTES';
import ROUTES from '@src/ROUTES';
import SCREENS from '@src/SCREENS';
import type Credentials from '@src/types/onyx/Credentials';
Expand Down Expand Up @@ -909,18 +909,18 @@ function waitForUserSignIn(): Promise<boolean> {
});
}

function handleExitToNavigation(exitTo: Routes | HybridAppRoute) {
function handleExitToNavigation(exitTo: Route | HybridAppRoute) {
InteractionManager.runAfterInteractions(() => {
waitForUserSignIn().then(() => {
Navigation.waitForProtectedRoutes().then(() => {
const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : exitTo;
const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : (exitTo as Route);
Navigation.navigate(url);
});
});
});
}

function signInWithValidateCodeAndNavigate(accountID: number, validateCode: string, twoFactorAuthCode = '', exitTo?: Routes | HybridAppRoute) {
function signInWithValidateCodeAndNavigate(accountID: number, validateCode: string, twoFactorAuthCode = '', exitTo?: Route | HybridAppRoute) {
signInWithValidateCode(accountID, validateCode, twoFactorAuthCode);
if (exitTo) {
handleExitToNavigation(exitTo);
Expand Down
3 changes: 2 additions & 1 deletion src/pages/LogInWithShortLivedAuthTokenPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import type {PublicScreensParamList} from '@libs/Navigation/types';
import * as Session from '@userActions/Session';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import type {Route} from '@src/ROUTES';
import ROUTES from '@src/ROUTES';
import type SCREENS from '@src/SCREENS';
import type {Account} from '@src/types/onyx';
Expand Down Expand Up @@ -63,7 +64,7 @@ function LogInWithShortLivedAuthTokenPage({route, account}: LogInWithShortLivedA

if (exitTo) {
Navigation.isNavigationReady().then(() => {
const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : exitTo;
const url = NativeModules.HybridAppModule ? Navigation.parseHybridAppUrl(exitTo) : (exitTo as Route);
Navigation.navigate(url);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,17 @@ function AttachmentPickerWithMenuItems({
[CONST.IOU.TYPE.SPLIT]: {
icon: Expensicons.Receipt,
text: translate('iou.splitBill'),
onSelected: () => IOU.startMoneyRequest_temporaryForRefactor(CONST.IOU.TYPE.SPLIT, report?.reportID ?? ''),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.SPLIT, report?.reportID ?? ''),
},
[CONST.IOU.TYPE.REQUEST]: {
icon: Expensicons.MoneyCircle,
text: translate('iou.requestMoney'),
onSelected: () => IOU.startMoneyRequest_temporaryForRefactor(CONST.IOU.TYPE.REQUEST, report?.reportID ?? ''),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.REQUEST, report?.reportID ?? ''),
},
[CONST.IOU.TYPE.SEND]: {
icon: Expensicons.Send,
text: translate('iou.sendMoney'),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.SEND, report?.reportID),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.SEND, report?.reportID ?? ''),
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function FloatingActionButtonAndPopover(props) {
text: translate('iou.requestMoney'),
onSelected: () =>
interceptAnonymousUser(() =>
IOU.startMoneyRequest_temporaryForRefactor(
IOU.startMoneyRequest(
CONST.IOU.TYPE.REQUEST,
// When starting to create a money request from the global FAB, there is not an existing report yet. A random optimistic reportID is generated and used
// for all of the routes in the creation flow.
Expand All @@ -177,7 +177,15 @@ function FloatingActionButtonAndPopover(props) {
{
icon: Expensicons.Send,
text: translate('iou.sendMoney'),
onSelected: () => interceptAnonymousUser(() => IOU.startMoneyRequest(CONST.IOU.TYPE.SEND)),
onSelected: () =>
interceptAnonymousUser(() =>
IOU.startMoneyRequest(
CONST.IOU.TYPE.SEND,
// When starting to create a send money request from the global FAB, there is not an existing report yet. A random optimistic reportID is generated and used
// for all of the routes in the creation flow.
ReportUtils.generateReportID(),
),
),
},
...[
{
Expand Down
9 changes: 3 additions & 6 deletions src/pages/iou/IOUCurrencySelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import * as ReportActionsUtils from '@libs/ReportActionsUtils';
import * as ReportUtils from '@libs/ReportUtils';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import {iouDefaultProps, iouPropTypes} from './propTypes';

/**
Expand Down Expand Up @@ -72,9 +71,8 @@ function IOUCurrencySelection(props) {
const [searchValue, setSearchValue] = useState('');
const optionsSelectorRef = useRef();
const selectedCurrencyCode = (lodashGet(props.route, 'params.currency', props.iou.currency) || CONST.CURRENCY.USD).toUpperCase();
const iouType = lodashGet(props.route, 'params.iouType', CONST.IOU.TYPE.REQUEST);
const reportID = lodashGet(props.route, 'params.reportID', '');
const threadReportID = lodashGet(props.route, 'params.threadReportID', '');
const backTo = lodashGet(props.route, 'params.backTo', '');

// Decides whether to allow or disallow editing a money request
useEffect(() => {
Expand All @@ -99,7 +97,6 @@ function IOUCurrencySelection(props) {

const confirmCurrencySelection = useCallback(
(option) => {
const backTo = lodashGet(props.route, 'params.backTo', '');
Keyboard.dismiss();

// When we refresh the web, the money request route gets cleared from the navigation stack.
Expand All @@ -111,7 +108,7 @@ function IOUCurrencySelection(props) {
Navigation.navigate(`${props.route.params.backTo}?currency=${option.currencyCode}`);
}
},
[props.route, props.navigation],
[props.route, props.navigation, backTo],
);

const {translate, currencyList} = props;
Expand Down Expand Up @@ -162,7 +159,7 @@ function IOUCurrencySelection(props) {
<>
<HeaderWithBackButton
title={translate('common.selectCurrency')}
onBackButtonPress={() => Navigation.goBack(ROUTES.MONEY_REQUEST.getRoute(iouType, reportID))}
onBackButtonPress={() => Navigation.goBack(backTo)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you explain why don't we keep current logic and update navigation here to new route?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I recall correctly, I believe we now need to use MONEY_REQUEST_CREATE, which requires a transaction ID. This functionality will be implemented in #34607. MONEY_REQUEST doesn't exist now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I meant why we don't change to ROUTES.MONEY_REQUEST_CREATE.getRoute

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @Krishna2323 just in case you missed this message

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Krishna2323 do you have any thoughts on this feedback? Thanks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Krishna2323 could you give your thoughts here? please

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IOUCurrencySelection will be replaced by IOURequestStepCurrency, in IOUCurrencySelection we don't get
transaction id in params that's why we can't use ROUTES.MONEY_REQUEST_CREATE.getRoute.
#34607

/>
<SelectionList
sections={sections}
Expand Down
Loading
Loading