File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -475,20 +475,10 @@ function PenHeight({ state, driver }: { state: State; driver: Driver }) {
475
475
}
476
476
477
477
function HardwareOptions ( { state } : { state : State } ) {
478
- const dispatch = useContext ( DispatchContext ) ;
479
- const setHardware = ( hardware : string ) => dispatch ( {
480
- type : "SET_PLAN_OPTION" ,
481
- value : { hardware }
482
- } ) ;
483
478
return < div >
484
- < label className = "flex-checkbox" title = "Use brushless upgrade kit pin and power settings" >
485
- < input
486
- type = "checkbox"
487
- checked = { state . planOptions . hardware === 'brushless' }
488
- onChange = { ( e ) => setHardware ( e . target . checked ? 'brushless' : 'v3' ) }
489
- />
490
- brushless
491
- </ label >
479
+ < div title = "Motor type (affects pin and power settings)" >
480
+ motor: { state . planOptions . hardware }
481
+ </ div >
492
482
</ div > ;
493
483
}
494
484
You can’t perform that action at this time.
0 commit comments