From db465240936eb4f5761ecd0ce890f4a941b5b65d Mon Sep 17 00:00:00 2001 From: AAGaming Date: Mon, 26 Oct 2026 23:58:24 -0400 Subject: They will never remember to run the linter --- frontend/src/developer.tsx | 11 +++++------ frontend/src/toaster.tsx | 10 +++++++++- 2 files changed, 14 insertions(+), 7 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/developer.tsx b/frontend/src/developer.tsx index 199350bf..67d9c4b8 100644 --- a/frontend/src/developer.tsx +++ b/frontend/src/developer.tsx @@ -11,12 +11,11 @@ let removeSettingsObserver: () => void = () => {}; export async function setShowValveInternal(show: boolean) { if (show) { - const mobx = - (window.settingsStore as any)[ - Object.getOwnPropertySymbols(window.settingsStore).find( - (x) => x.toString() == 'Symbol(mobx administration)', - ) as any - ]; + const mobx = (window.settingsStore as any)[ + Object.getOwnPropertySymbols(window.settingsStore).find( + (x) => x.toString() == 'Symbol(mobx administration)', + ) as any + ]; removeSettingsObserver = (mobx.observe_ || mobx.observe).call(mobx, (e: any) => { e.newValue.bIsValveEmail = true; diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx index e8202541..e5b2d986 100644 --- a/frontend/src/toaster.tsx +++ b/frontend/src/toaster.tsx @@ -1,5 +1,13 @@ import type { ToastData, ToastNotification } from '@decky/api'; -import { ESteamNotificationAction, ErrorBoundary, Patch, callOriginal, findModuleExport, injectFCTrampoline, replacePatch } from '@decky/ui'; +import { + ESteamNotificationAction, + ErrorBoundary, + Patch, + callOriginal, + findModuleExport, + injectFCTrampoline, + replacePatch, +} from '@decky/ui'; import Toast from './components/Toast'; import Logger from './logger'; -- cgit v1.2.3