-
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
[$250] [Dev] Console Warning: Each child in a list should have a unique “key” prop. Check the render method of MoneyRequestConfirmationListFooter #49063
Comments
Triggered auto assignment to @RachCHopkins ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Edited by proposal-police: This proposal was edited at 2023-11-01T12:00:00Z. ProposalPlease re-state the problem that we are trying to solve in this issue.Console Warning, Each child in a list should have a unique “key” prop. What is the root cause of that problem?In App/src/components/MoneyRequestConfirmationListFooter.tsx Lines 302 to 304 in 57f8c23
What changes do you think we should make in order to solve the problem?Add |
@m-natarajan can you please outline the exact steps?
What is the Does this mean tap Create, Start Chat and then choose the currently logged in user?
What is the |
Apologies for the confusion. There were quite a few development warnings/errors I reported so the steps have become too generic. Here are the exact steps
Expected Result:There should be no console errors or warnings. Actual Result:Console Warning: Each child in a list should have a unique “key” prop.
Check the render method of MoneyRequestConfirmationListFooter This bug occurs only on development environment and cannot be recreated on staging or production versions of the app. |
Ok, sounds like it's not something I can repro, but I trust you @c3024!! |
Job added to Upwork: https://www.upwork.com/jobs/~021834465215371395617 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Console Warning, Each child in a list should have a unique “key” prop. What is the root cause of that problem?We add the App/src/components/MoneyRequestConfirmationListFooter.tsx Lines 303 to 304 in 1a43284
We also miss adding the
What changes do you think we should make in order to solve the problem?We should move the
App/src/components/MoneyRequestConfirmationListFooter.tsx Lines 303 to 304 in 1a43284
We also need to add
What alternative solutions did you explore? (Optional) |
@gijoe0295 proposal looks good. We should check for all elements in the loop for the key. This distinction alone does not warrant a significant change as it is something that we will check in the PR. This is only the extra point in @nkdengineer proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @gijoe0295 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Automation is borked, looks like this is pretty much ready for payment. @parasharrajat can you please do the checklist? The following checklist (instructions) will need to be completed before the issue can be closed:
Also, what's our payment date for this one? |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Regression Test Steps
Do you agree 👍 or 👎 ? |
I don't think we need a regression test for this specifically. It doesn't really break user functionality. |
Ok cool, thanks @luacmartins - I'm also not clear on when this needs to be paid out, so if you can clarify that, that would be wonderful. |
@RachCHopkins PR reach production since early Sep 25. Should be ready for payment on Oct 2. |
Payment Summary:
Upwork job here |
Contributor has been paid, the contract has been completed, and the Upwork post has been closed. |
Payment requested as per #49063 (comment) |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.30-9
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @c3024
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1726072632778819?thread_ts=1726072125.690969&cid=C049HHMV9SM
Action Performed:
Expected Result:
No console warning on the confirmation page
Actual Result:
Console Warning, Each child in a list should have a unique “key” prop.
Check the render method of
MoneyRequestConfirmationListFooter
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @parasharrajatThe text was updated successfully, but these errors were encountered: