Skip to content

Commit 0651d91

Browse files
authored
fix(app): do not pass directionControlButtonColor into DOM (#9615)
1 parent fa33c33 commit 0651d91

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/molecules/JogControls/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ export { HORIZONTAL_PLANE, VERTICAL_PLANE }
3434

3535
export function JogControls(props: JogControlsProps): JSX.Element {
3636
const {
37+
jog,
3738
isLPC,
39+
directionControlButtonColor,
3840
stepSizes = DEFAULT_STEP_SIZES,
3941
planes = [HORIZONTAL_PLANE, VERTICAL_PLANE],
40-
jog,
4142
auxiliaryControl = null,
4243
...styleProps
4344
} = props
@@ -62,7 +63,7 @@ export function JogControls(props: JogControlsProps): JSX.Element {
6263
plane={plane}
6364
jog={jog}
6465
stepSize={currentStepSize}
65-
buttonColor={props.directionControlButtonColor}
66+
buttonColor={directionControlButtonColor}
6667
/>
6768
))}
6869
{auxiliaryControl}

0 commit comments

Comments
 (0)