From 599279c137ae691755232fb6b4316b9f6f658e3d Mon Sep 17 00:00:00 2001
From: AAGaming <aagaming@riseup.net>
Date: Sun, 28 Jul 2024 20:32:59 -0400
Subject: chore: lint

---
 frontend/src/plugin-loader.tsx | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'frontend/src/plugin-loader.tsx')

diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 28927f1e..f03877fa 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -179,10 +179,13 @@ class PluginLoader extends Logger {
 
   private async loadPlugins() {
     let registration: any;
-    const uiMode = await new Promise(r => registration = SteamClient.UI.RegisterForUIModeChanged((mode: UIMode) => {
-      r(mode);
-      registration.unregister()
-    }));
+    const uiMode = await new Promise(
+      (r) =>
+        (registration = SteamClient.UI.RegisterForUIModeChanged((mode: UIMode) => {
+          r(mode);
+          registration.unregister();
+        })),
+    );
     if (uiMode == UIMode.BigPicture) {
       // wait for SP window to exist before loading plugins
       while (!findSP()) {
-- 
cgit v1.2.3

