Merge pull request 'Fixed some stuff' (#93) from sageTheDm/interstellar_ai:main into main
Reviewed-on: https://interstellardevelopment.org/code/code/React-Group/interstellar_ai/pulls/93
This commit is contained in:
commit
9100b0c0f4
1 changed files with 8 additions and 16 deletions
|
@ -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),
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue