Skip to content

Commit e734c05

Browse files
committed
fix the onClick handler in the Joystick3d component to use a proper no-op function
1 parent d1db907 commit e734c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/leva/src/components/UI/Joystick3d.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function Joystick3d({ value, settings, onUpdate }: Joystick3dProps) {
5151
<PlaneLabel>{kb.label}</PlaneLabel>
5252
</ButtonLabelContainer>
5353
}
54-
onClick={() => ''}
54+
onClick={() => {}}
5555
settings={{ disabled: plane !== kb.plane }}
5656
/>
5757
))}

0 commit comments

Comments
 (0)