-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[CP Staging] Revert "Jakubkalinski0/fix console errors related to forward ref batch7" #72106
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
[CP Staging] Revert "Jakubkalinski0/fix console errors related to forward ref batch7" #72106
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
🚧 @lakchote has triggered a test Expensify/App build. You can view the workflow run here. |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This comment has been minimized.
This comment has been minimized.
mountiny
left a comment
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.
Tested on the adhoc and it works
…rs-related-to-forwardRef-batch7
|
🚧 @lakchote has triggered a test Expensify/App build. You can view the workflow run here. |
MonilBhavsar
left a comment
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.
Tested and it resolves issue
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
| AmountWithoutCurrencyInput.displayName = 'AmountWithoutCurrencyInput'; | ||
|
|
||
| export default AmountWithoutCurrencyInput; | ||
| export default React.forwardRef(AmountWithoutCurrencyInput); |
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.
I think we need to go back to this:
function AmountWithoutCurrencyInput(
{value: amount, shouldAllowNegative = false, inputID, name, defaultValue, accessibilityLabel, role, label, onInputChange, ...rest}: AmountFormProps,
ref: ForwardedRef<BaseTextInputRef>,
) {
But add the new props that has been added
mountiny
left a comment
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.
The latest conflict resolution looks good
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Works! |
|
@lakchote looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Not emergency, straight revert |
|
@Beamanator Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…Fix-console-errors-related-to-forwardRef-batch7 [CP Staging] Revert "Jakubkalinski0/fix console errors related to forward ref batch7" (cherry picked from commit d005353) (cherry-picked to staging by mountiny)
…353794631-1 🍒 Cherry pick PR #72106 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.2.27-4 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.2.27-6 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/lakchote in version: 9.2.28-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.2.28-5 🚀
|
Reverts #71896