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

add key to assets list #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

aasthag-14
Copy link

Key is missing in the array map code which is causing repeated thumbnails when page is changed.

Keys help React identify which items have changed, are added, or are removed. Keys should be given to the elements inside the array to give the elements a stable identity

Reference https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key

Key is missing in the array map code which is causing repeated thumbnails when page is changed.

Keys help React identify which items have changed, are added, or are removed. Keys should be given to the elements inside the array to give the elements a stable identity

Reference https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key
@aasthag-14 aasthag-14 requested a review from a team as a code owner December 8, 2023 09:28
@aasthag-14
Copy link
Author

@erikpena please help to review this

@aasthag-14
Copy link
Author

@alexdechaves
@sevbauer
@tbobkermux
Please help to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants