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
react-dom.development.js:86 Warning: Encountered two children with the same key, `22826`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
at tbody
at table
at http://localhost:8080/static/js/bundle.js:15018:66
at http://localhost:8080/static/js/bundle.js:12294:5
at div
at History (http://localhost:8080/static/js/bundle.js:3476:83)
at Outlet (http://localhost:8080/static/js/bundle.js:231284:26)
at div
at div
at Library (http://localhost:8080/static/js/bundle.js:3967:81)
at Routes (http://localhost:8080/static/js/bundle.js:231376:5)
at div
at div
at http://localhost:8080/static/js/bundle.js:15018:66
at App (http://localhost:8080/static/js/bundle.js:256:83)
at AuthProvider (http://localhost:8080/static/js/bundle.js:678:5)
at GlobalStateProvider (http://localhost:8080/static/js/bundle.js:12853:5)
at SnackBarContextProvider (http://localhost:8080/static/js/bundle.js:12596:70)
at ThemeProvider (http://localhost:8080/static/js/bundle.js:15058:64)
at InsideRouter
at Router (http://localhost:8080/static/js/bundle.js:231309:15)
at MemoryRouter (http://localhost:8080/static/js/bundle.js:231218:5)
I haven’t quite figured out what to do with that error. It’s happening because in React when you map to create child elements you need to provide a “key” object so that react can keep track of which element is which for reordering and updating. This key element has to be unique and it can’t just be the index of the array. I’m trackgroups we use the id of the track. But if you’re on a playlist, it could be that the track repeats, cause you’ve played it twice or you added it to the playlist twice.
The text was updated successfully, but these errors were encountered:
I haven’t quite figured out what to do with that error. It’s happening because in React when you map to create child elements you need to provide a “key” object so that react can keep track of which element is which for reordering and updating. This key element has to be unique and it can’t just be the index of the array. I’m trackgroups we use the id of the track. But if you’re on a playlist, it could be that the track repeats, cause you’ve played it twice or you added it to the playlist twice.
The text was updated successfully, but these errors were encountered: