HindsightTwentyTwenty / frontend

The Official Front End of Hindsite Inc.
0 stars 1 forks source link

Assing Key to Left/Right Margin in Tab Component #314

Open trk17 opened 7 years ago

trk17 commented 7 years ago

Currently getting a "Each child in an array or iterator should have a unique "key" prop." error since the left/right margins dont have keys but are added to an array. I tried giving them a key of just Math.random() and that works since we dont actually care about their keys but this doesnt really seem like a real solution. Should discuss more to figure out a better solution.

gamiller commented 7 years ago

alright ill "ass" it