@@ -183,7 +193,7 @@ export function HomeScreenSettings() {
}>
-
+
}>
diff --git a/gui/src/hooks/autobone.ts b/gui/src/hooks/autobone.ts
index 39ace8759..07984ca00 100644
--- a/gui/src/hooks/autobone.ts
+++ b/gui/src/hooks/autobone.ts
@@ -13,7 +13,7 @@ import { useWebsocketAPI } from './websocket-api';
import { useLocalization } from '@fluent/react';
import { log } from '@/utils/logging';
import { useConfig } from './config';
-import * as Sentry from '@sentry/react'
+import * as Sentry from '@sentry/react';
export enum ProcessStatus {
PENDING,
diff --git a/gui/src/hooks/crypto.ts b/gui/src/hooks/crypto.ts
index 0152a1c92..fabf7b079 100644
--- a/gui/src/hooks/crypto.ts
+++ b/gui/src/hooks/crypto.ts
@@ -7,4 +7,4 @@ export function hash(str: string) {
// Convert to unsigned 32-bit integer and normalize (0, 1)
return (hash >>> 0) / 2 ** 32;
-};
+}
diff --git a/gui/src/hooks/firmware-update.ts b/gui/src/hooks/firmware-update.ts
index 09734a7b6..35107a17d 100644
--- a/gui/src/hooks/firmware-update.ts
+++ b/gui/src/hooks/firmware-update.ts
@@ -2,7 +2,6 @@ import { BoardType, DeviceDataT } from 'solarxr-protocol';
import { fetch as tauriFetch } from '@tauri-apps/plugin-http';
import { cacheWrap } from './cache';
import semver from 'semver';
-import { hostname, locale, platform, version } from '@tauri-apps/plugin-os';
import { hash } from './crypto';
import { getUserID } from './user';
diff --git a/gui/src/hooks/manual-proportions.ts b/gui/src/hooks/manual-proportions.ts
index 922b59f99..55bc8cb59 100644
--- a/gui/src/hooks/manual-proportions.ts
+++ b/gui/src/hooks/manual-proportions.ts
@@ -8,8 +8,7 @@ import {
import { useWebsocketAPI } from './websocket-api';
import { useEffect, useMemo, useState } from 'react';
import { useConfig } from './config';
-import * as Sentry from '@sentry/react'
-
+import * as Sentry from '@sentry/react';
type LabelBase = {
value: number;
@@ -195,7 +194,7 @@ export function useManualProportions({ type }: { type: 'linear' | 'ratio' }): {
}
sendRPCPacket(RpcMessage.SkeletonConfigRequest, new SkeletonConfigRequestT());
setConfig({ lastUsedProportions: 'manual' });
- Sentry.metrics.count('manual_proportions_change', 1, { attributes: params })
+ Sentry.metrics.count('manual_proportions_change', 1, { attributes: params });
},
};
}
diff --git a/gui/src/hooks/reset.ts b/gui/src/hooks/reset.ts
index 620ace660..eff3728ed 100644
--- a/gui/src/hooks/reset.ts
+++ b/gui/src/hooks/reset.ts
@@ -12,7 +12,7 @@ import { useAtomValue } from 'jotai';
import { assignedTrackersAtom, serverGuardsAtom } from '@/store/app-store';
import { FEET_BODY_PARTS, FINGER_BODY_PARTS } from './body-parts';
import { useLocaleConfig } from '@/i18n/config';
-import * as Sentry from '@sentry/react'
+import * as Sentry from '@sentry/react';
export type ResetBtnStatus = 'idle' | 'counting' | 'finished';
@@ -50,7 +50,6 @@ export function useReset(options: UseResetOptions, onReseted?: () => void) {
Sentry.metrics.count('reset_click', 1, { attributes: options });
};
-
const onResetFinished = () => {
setStatus('finished');
if (onReseted) onReseted();
diff --git a/gui/src/hooks/user.ts b/gui/src/hooks/user.ts
index 009d811ce..e590bbfb3 100644
--- a/gui/src/hooks/user.ts
+++ b/gui/src/hooks/user.ts
@@ -1,4 +1,4 @@
-import { locale, hostname, platform, version } from '@tauri-apps/plugin-os';
+import { locale, hostname, platform, version } from '@tauri-apps/plugin-os';
import { hash } from './crypto';
export async function getUserID() {
diff --git a/gui/src/utils/sentry.ts b/gui/src/utils/sentry.ts
index 4c124c7ba..4bf9f8e6a 100644
--- a/gui/src/utils/sentry.ts
+++ b/gui/src/utils/sentry.ts
@@ -64,8 +64,8 @@ export function getSentryOrCompute(enabled = false) {
}
getUserID().then((id) => {
- Sentry.setUser({ id })
- })
+ Sentry.setUser({ id });
+ });
return newClient;
}