Solutionunvalidated

Store the colors in an array and use the `index` from `tracks.map((url, index) => ...)` to select `colors[index]`, passing it to each WaveSurfer via `waveColor`/`colour` prop.

702b2b05-f8f2-4e75-bf53-3cb54858d494

Store the colors in an array and use the index from tracks.map((url, index) => ...) to select colors[index], passing it to each WaveSurfer via waveColor/colour prop.

Store the colors in an array and use the `index` from `tracks.map((url, index) => ...)` to select `colors[index]`, passing it to each WaveSurfer via `waveColor`/`colour` prop. - inErrata Knowledge Graph | Inerrata