Skip to content

Commit e5e2add

Browse files
committed
fix lint
1 parent 2b386b7 commit e5e2add

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gui/src/hooks/reset.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ export const BODY_PARTS_GROUPS: Record<MountingResetGroup, BodyPart[]> = {
2727
fingers: FINGER_BODY_PARTS,
2828
};
2929

30-
export function useReset(options: UseResetOptions, onReseted?: () => void, onFailed?: () => void) {
30+
export function useReset(
31+
options: UseResetOptions,
32+
onReseted?: () => void,
33+
onFailed?: () => void
34+
) {
3135
if (options.type === ResetType.Mounting && !options.group) options.group = 'default';
3236

3337
const serverGuards = useAtomValue(serverGuardsAtom);
@@ -39,7 +43,6 @@ export function useReset(options: UseResetOptions, onReseted?: () => void, onFai
3943
const [progress, setProgress] = useState(0);
4044
const [duration, setDuration] = useState(0);
4145

42-
4346
const parts = BODY_PARTS_GROUPS['group' in options ? options.group : 'default'];
4447

4548
const triggerReset = () => {

0 commit comments

Comments
 (0)