FRUK-Simulator / Simulator

First Robotics UK Simulator
https://sim.morethanrobots.uk/
MIT License
5 stars 17 forks source link

Fix RobotView.tsx to use key prop #206

Closed ido-ran closed 2 years ago

ido-ran commented 2 years ago

It seems we are not setting key property in RobotView.

Warning: Each child in a list should have a unique "key" prop.

Check the render method of `RobotView`. See https://reactjs.org/link/warning-keys for more information.
    in StatusTile (at RobotView.tsx:33)
    in RobotView (at SimulatorView.tsx:41)