From cc5e6ac24dbe6da122ecc3a073fadde1112900e8 Mon Sep 17 00:00:00 2001
From: Marco Rodolfi <marco.rodolfi@tuta.io>
Date: Sat, 27 May 2023 20:02:47 +0200
Subject: Small code cleanup.

---
 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 a14d3d4d..15a0ca36 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -6,9 +6,9 @@ import {
   Patch,
   QuickAccessTab,
   Router,
+  quickAccessMenuClasses,
   showModal,
   sleep,
-  staticClasses,
 } from 'decky-frontend-lib';
 import { FC, lazy } from 'react';
 import { FaExclamationCircle, FaPlug } from 'react-icons/fa';
@@ -277,8 +277,11 @@ class PluginLoader extends Logger {
         const TheError: FC<{}> = () => (
           <PanelSection>
             <PanelSectionRow>
-              <div className={staticClasses.FriendsTitle} style={{ display: 'flex', justifyContent: 'center' }}>
-                {<TranslationHelper trans_class={TranslationClass.PLUGIN_LOADER} trans_text="error" />}
+              <div
+                className={quickAccessMenuClasses.FriendsTitle}
+                style={{ display: 'flex', justifyContent: 'center' }}
+              >
+                <TranslationHelper trans_class={TranslationClass.PLUGIN_LOADER} trans_text="error" />
               </div>
             </PanelSectionRow>
             <PanelSectionRow>
@@ -287,7 +290,7 @@ class PluginLoader extends Logger {
               </pre>
             </PanelSectionRow>
             <PanelSectionRow>
-              <div className={staticClasses.Text}>
+              <div className={quickAccessMenuClasses.Text}>
                 <TranslationHelper
                   trans_class={TranslationClass.PLUGIN_LOADER}
                   trans_text="plugin_error_uninstall"
-- 
cgit v1.2.3

