-
Notifications
You must be signed in to change notification settings - Fork 685
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
#3185 fix - Duplicate react component key props #3186
Conversation
Refer to magento#3185 for reproducing the bug * Change ProductImageCarousel Thumbnail key to unique id * carousel thumbnail keys are not currently unique based on item file + label * item IDs are unique (within a products variants) so should be a good fix
|
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.
Simple fix, nice work 👍
@jh0l thanks for the contribution - would you please sign the Adobe CLA? Without that we cannot use/merge this PR :( |
Okay I've signed it, |
Ok thanks for that - I also was curious how to repro this issue - I'm not able to on https://develop.pwa-venia.com/default/athena-tank-dress.html Do I need to change something in the backend? |
Signed-off-by: sirugh <rugh@adobe.com>
Though I wasn't able to repro the reported bug, I do believe this solution is better than what we had previously. |
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.
Approving though I did make some changes (id -> uid).
Signed-off-by: sirugh <rugh@adobe.com>
Yeah there must be some difference in the way the pwa-studio tutorial sets up venia versus how your CI sets up venia. I'm not sure how to see that though. |
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.
Approving this although I technically made a few changes (id -> uid).
Fix for #3185
Description
carousel thumbnail keys are not currently unique based on item file + label
item IDs are unique (within a products variants) so should be a good fix
Changes
Related Issue
Closes #3185
Verification Steps
Screenshots / Screen Captures