From 30cacd691ca4bab203ca63ee25be54aeee36a4fb Mon Sep 17 00:00:00 2001 From: AAGaming Date: Mon, 5 Aug 2024 16:57:29 -0400 Subject: [PATCH] lint --- frontend/src/steamfixes/index.ts | 2 +- frontend/src/steamfixes/socket.ts | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/steamfixes/index.ts b/frontend/src/steamfixes/index.ts index f0e04c4d..3b3ee75f 100644 --- a/frontend/src/steamfixes/index.ts +++ b/frontend/src/steamfixes/index.ts @@ -1,5 +1,5 @@ // import restartFix from './restart'; -import cefSocketFix from "./socket"; +import cefSocketFix from './socket'; let fixes: Function[] = []; diff --git a/frontend/src/steamfixes/socket.ts b/frontend/src/steamfixes/socket.ts index a003b417..26f6afee 100644 --- a/frontend/src/steamfixes/socket.ts +++ b/frontend/src/steamfixes/socket.ts @@ -1,16 +1,16 @@ -import Logger from "../logger"; +import Logger from '../logger'; const logger = new Logger('CEFSocketFix'); -const closeCEFSocket = DeckyBackend.callable<[], void>("utilities/close_cef_socket"); +const closeCEFSocket = DeckyBackend.callable<[], void>('utilities/close_cef_socket'); export default function cefSocketFix() { - const reg = window.SteamClient?.User?.RegisterForShutdownStart(async () => { - logger.log("Closing CEF socket before shutdown"); - await closeCEFSocket(); - }); + const reg = window.SteamClient?.User?.RegisterForShutdownStart(async () => { + logger.log('Closing CEF socket before shutdown'); + await closeCEFSocket(); + }); - if (reg) logger.debug("CEF shutdown handler ready"); + if (reg) logger.debug('CEF shutdown handler ready'); - return () => reg?.unregister(); -} \ No newline at end of file + return () => reg?.unregister(); +}