I’ve been at this for ages now. I Cant work out why I’m receiving this error?
TrackList.js:10 Uncaught TypeError: Cannot read properties of undefined (reading 'map') at TrackList.render (TrackList.js:10:1) at finishClassComponent (react-dom.development.js:17485:1) at updateClassComponent (react-dom.development.js:17435:1) at beginWork (react-dom.development.js:19073:1) at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1) at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1) at invokeGuardedCallback (react-dom.development.js:4056:1) at beginWork$1 (react-dom.development.js:23964:1) at performUnitOfWork (react-dom.development.js:22776:1) at workLoopSync (react-dom.development.js:22707:1)
I have looked at other potentially solutions and they say to remove the trackList component from the playlist.js file, which I tried and still receive the error. Can anyone suggest something?