From 49ce4235ece709d45ad6cf354c4870cb6e990dbe Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Mon, 9 Dec 2024 10:31:09 -0500 Subject: [PATCH] fixed toggle not displaying in feature tab --- app/components/settings/SettingsWindow.tsx | 68 +++++++--------------- 1 file changed, 22 insertions(+), 46 deletions(-) diff --git a/app/components/settings/SettingsWindow.tsx b/app/components/settings/SettingsWindow.tsx index c70238e..8b62a05 100644 --- a/app/components/settings/SettingsWindow.tsx +++ b/app/components/settings/SettingsWindow.tsx @@ -30,6 +30,8 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => { const [searchTerm, setSearchTerm] = useState(''); const [isDeleting, setIsDeleting] = useState(false); const [isJustSayEnabled, setIsJustSayEnabled] = useState(false); + const [isExperimentalFeature1Enabled, setIsExperimentalFeature1Enabled] = useState(false); + const [isExperimentalFeature2Enabled, setIsExperimentalFeature2Enabled] = useState(false); // Load base URLs from cookies const [baseUrls, setBaseUrls] = useState(() => { @@ -339,57 +341,31 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => { )} {activeTab === 'features' && (
-

Feature Settings

-
- Debug Info -
-
- )} - {activeTab === 'features' && ( -
-

Experimental Area

-
- Replace with local models -
)}