refactor: Replace fragment shorthand with React.Fragment for clarity in robotic arm and vehicle instances
style: Add mask property to simulation.scss for improved visual effects
This commit is contained in:
@@ -9,10 +9,10 @@ function VehicleInstances() {
|
||||
return (
|
||||
<>
|
||||
{vehicles.map((vehicle: VehicleStatus) => (
|
||||
<>
|
||||
<VehicleInstance agvDetail={vehicle} key={vehicle.modelUuid} />
|
||||
<VehicleContentUi vehicle={vehicle} key={`${vehicle.modelUuid}-ui`} />
|
||||
</>
|
||||
<React.Fragment key={vehicle.modelUuid}>
|
||||
<VehicleInstance agvDetail={vehicle} />
|
||||
<VehicleContentUi vehicle={vehicle} />
|
||||
</React.Fragment>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user