-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 MoneyRequestParticipantsPage.js and copy any changes since Nov 27 into IOURequestStepParticipants.js #35822
Changes from 11 commits
7565621
26e011a
db861f6
e8c130c
48f5dd8
c112ca3
33196ae
432dadb
da62d52
6d60656
ab1542f
1db1675
c8ca864
16033b3
2836636
8df57ca
36f56b1
2a89693
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5080,9 +5080,9 @@ function navigateToNextPage(iou: OnyxEntry<OnyxTypes.IOU>, iouType: string, repo | |
setMoneyRequestParticipants(participants); | ||
} | ||
Navigation.navigate(ROUTES.MONEY_REQUEST_CONFIRMATION.getRoute(iouType, report.reportID)); | ||
return; | ||
// return; | ||
} | ||
Navigation.navigate(ROUTES.MONEY_REQUEST_PARTICIPANTS.getRoute(iouType)); | ||
// Navigation.navigate(ROUTES.MONEY_REQUEST_PARTICIPANTS.getRoute(iouType)); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we commenting out here? If not required, kindly remove the same. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For more information, |
||
} | ||
|
||
/** | ||
|
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -1,7 +1,7 @@ | ||||
import {useNavigation} from '@react-navigation/native'; | ||||
import _ from 'lodash'; | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we changing from underscore to lodash here since we dont have any other code change in this file? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The old component uses App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 1 in ae6cc49
|
||||
import lodashGet from 'lodash/get'; | ||||
import React, {useCallback, useEffect, useMemo, useRef} from 'react'; | ||||
import _ from 'underscore'; | ||||
import transactionPropTypes from '@components/transactionPropTypes'; | ||||
import useLocalize from '@hooks/useLocalize'; | ||||
import compose from '@libs/compose'; | ||||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Krishna2323 Let's create new type SCREENS.MONEY_REQUEST.STEP_PARTICIPANTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @DylanDylann, type created for
SCREENS.MONEY_REQUEST.STEP_PARTICIPANTS
.