From 0aa7116fd3d9681e2e82ece23bdb8ca6b020403d Mon Sep 17 00:00:00 2001
From: sageTheDM <info@photofuel.tech>
Date: Thu, 3 Oct 2024 11:37:53 +0200
Subject: [PATCH] Fixed some stuff

---
 app/components/settings/Settings.tsx | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/app/components/settings/Settings.tsx b/app/components/settings/Settings.tsx
index 2f149f3..583442e 100644
--- a/app/components/settings/Settings.tsx
+++ b/app/components/settings/Settings.tsx
@@ -159,18 +159,14 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
       fontFamily,
       fontSize,
       selectedTheme,
-      faqSettings: {
-        faqBackgroundColor,
-        faqHeadingColor,
-        faqItemBackgroundColor,
-        faqItemHeadingColor,
-        faqItemTextColor,
-        faqItemHoverBackgroundColor,
-      },
-      popupSettings: {
-        popupBackgroundColor,
-        overlayTextColor,
-      },
+      faqBackgroundColor,
+      faqHeadingColor,
+      faqItemBackgroundColor,
+      faqItemHeadingColor,
+      faqItemTextColor,
+      faqItemHoverBackgroundColor,
+      popupBackgroundColor,
+      overlayTextColor,
       primaryColor,
       secondaryColor,
       accentColor,
@@ -317,8 +313,6 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
     const flattenedSettings = {
       ...settings.userPreferences,
       ...settings.theme,
-      ...settings.theme.faqSettings,
-      ...settings.theme.popupSettings,
       ...settings.apiKeys,
       ...settings.generalSettings,
     };
@@ -329,8 +323,6 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
   }, [
     ...Object.values(settings.userPreferences),
     ...Object.values(settings.theme),
-    ...Object.values(settings.theme.faqSettings),
-    ...Object.values(settings.theme.popupSettings),
     ...Object.values(settings.apiKeys),
     ...Object.values(settings.generalSettings),
   ]);