We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab24828 commit 247c063Copy full SHA for 247c063
gui/src/components/onboarding/pages/trackers-assign/TrackerAssignOptions.tsx
@@ -63,10 +63,12 @@ export function TrackerAssignOptions({
63
const { config, setConfig } = useConfig();
64
65
const getPreferredSet = () => {
66
- return (Object.entries(ASSIGN_MODE_OPTIONS).find(
+ return (
67
+ (Object.entries(ASSIGN_MODE_OPTIONS).find(
68
([_, count]) => count >= connectedIMUTrackers.length
69
)?.[0] as AssignMode) ?? AssignMode.All
- }
70
+ );
71
+ };
72
73
const { control, watch } = useForm<{
74
assignMode: AssignMode;
0 commit comments