mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-05 08:12:29 -08:00
Lint
This commit is contained in:
1 parent
ab248287cc
commit
247c063791
1 file changed
+4
-2
@@ -63,10 +63,12 @@ export function TrackerAssignOptions({
|
||||
const { config, setConfig } = useConfig();
|
||||
|
||||
const getPreferredSet = () => {
|
||||
return (Object.entries(ASSIGN_MODE_OPTIONS).find(
|
||||
return (
|
||||
(Object.entries(ASSIGN_MODE_OPTIONS).find(
|
||||
([_, count]) => count >= connectedIMUTrackers.length
|
||||
)?.[0] as AssignMode) ?? AssignMode.All
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
const { control, watch } = useForm<{
|
||||
assignMode: AssignMode;
|
||||
|
||||
Reference in new issue
Block a user