Skip to content

Commit

Permalink
[front] - refactor: remove unused advanced settings state from SpaceW…
Browse files Browse the repository at this point in the history
…ebsiteModal

 - Eliminate the `advancedSettingsOpened` state that isn't being utilized within the component
  • Loading branch information
JulesBelveze committed Jan 30, 2025
1 parent 65aa7e3 commit 36283d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion front/components/spaces/SpaceWebsiteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export default function SpaceWebsiteModal({
useState<CrawlingFrequency>(
WEBCRAWLER_DEFAULT_CONFIGURATION.crawlFrequency
);
const [advancedSettingsOpened, setAdvancedSettingsOpened] = useState(false);
const [headers, setHeaders] = useState<{ key: string; value: string }[]>([]);

const { configuration, mutateConfiguration, isConfigurationLoading } =
Expand Down

0 comments on commit 36283d3

Please sign in to comment.