handleRoverSelect(rover)}
>
@@ -59,68 +77,32 @@ export function ControlPanel({ rovers = [], selectedRover, onRoverSelect, onStar
))}
-
Customize Rover
-
-
- setSpeed(Number(e.target.value))}
- className="my-2 w-full"
- />
- {speed}
-
-
-
- setEfficiency(Number(e.target.value) / 100)}
- className="my-2 w-full"
- />
- {(efficiency * 100).toFixed(0)}%
-
-
-
- setMiningLevel(Number(e.target.value))}
- className="my-2 w-full"
- />
- {miningLevel}
-
+
+ {/* Now you can use selectedDeposit */}
+ {selectedDeposit && (
+
+
Selected Deposit
+
+ Name: {selectedDeposit.name}, Quantity: {selectedDeposit.quantity}
+
)}
-
-