You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The voter's list is mapped without a key to each of the mapped children (individual voter item), causing the error Each child in a list should have a unique "key" prop.. Additionally, there's also improper spacing in the voter list item, there's an extra margin on the left, and the padding between the avatar and the username is large. This doesn't look very good to the eyes.
To Reproduce
Steps to reproduce the behavior:
Click on the vote count of any story.
Open the console from dev tools to see the 'key' prop missing warning.
You can also notice the improper spacing in the modal, especially on the left side of the avatar.
The same behavior is seen on the Storylist page and Story page timeline.
Expected behavior
A key prop should be present on every mapped item. Also, margin and padding should be correctly set to avoid improper spacing.
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):
OS: Windows 11
Browser: Chrome
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The voter's list is mapped without a key to each of the mapped children (individual voter item), causing the error
Each child in a list should have a unique "key" prop.
. Additionally, there's also improper spacing in the voter list item, there's an extra margin on the left, and the padding between the avatar and the username is large. This doesn't look very good to the eyes.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A key prop should be present on every mapped item. Also, margin and padding should be correctly set to avoid improper spacing.
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: