From 36283d39fbda7b1c6974823ee7eca26929e94f7f Mon Sep 17 00:00:00 2001 From: JulesBelveze Date: Thu, 30 Jan 2025 21:49:58 +0100 Subject: [PATCH] [front] - refactor: remove unused advanced settings state from SpaceWebsiteModal - Eliminate the `advancedSettingsOpened` state that isn't being utilized within the component --- front/components/spaces/SpaceWebsiteModal.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/front/components/spaces/SpaceWebsiteModal.tsx b/front/components/spaces/SpaceWebsiteModal.tsx index 9b987507477f..ede82f5ddca3 100644 --- a/front/components/spaces/SpaceWebsiteModal.tsx +++ b/front/components/spaces/SpaceWebsiteModal.tsx @@ -111,7 +111,6 @@ export default function SpaceWebsiteModal({ useState( WEBCRAWLER_DEFAULT_CONFIGURATION.crawlFrequency ); - const [advancedSettingsOpened, setAdvancedSettingsOpened] = useState(false); const [headers, setHeaders] = useState<{ key: string; value: string }[]>([]); const { configuration, mutateConfiguration, isConfigurationLoading } =