From 915bf179872c1d1ac0c10e833b39360f7f9c3822 Mon Sep 17 00:00:00 2001 From: Qi Liu Date: Tue, 19 Nov 2024 12:39:14 -0800 Subject: [PATCH] remove unused imports --- .../src/pages/app/app-settings/Sections/GeneralSettings.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client-react/src/pages/app/app-settings/Sections/GeneralSettings.tsx b/client-react/src/pages/app/app-settings/Sections/GeneralSettings.tsx index 51547a3773..610fce7c3d 100644 --- a/client-react/src/pages/app/app-settings/Sections/GeneralSettings.tsx +++ b/client-react/src/pages/app/app-settings/Sections/GeneralSettings.tsx @@ -1,4 +1,4 @@ -import React, { useRef, useMemo, useContext } from 'react'; +import React, { useRef, useMemo } from 'react'; import Platform from '../GeneralSettings/Platform'; import SlotAutoSwap from '../GeneralSettings/SlotAutoSwap'; import Stacks from '../GeneralSettings/Stacks'; @@ -14,12 +14,10 @@ import { isEqual } from 'lodash-es'; import ClientCert from '../GeneralSettings/ClientCert/ClientCert'; import { DeploymentCenterConstants } from '../../deployment-center/DeploymentCenterConstants'; import StringUtils from '../../../../utils/string'; -import { SiteStateContext } from '../../../../SiteState'; const GeneralSettings: React.FC> = props => { const { values } = props; const { site } = values; - const siteStateContext = useContext(SiteStateContext); const { t } = useTranslation(); const scenarioCheckerRef = useRef(new ScenarioService(t)); const scenarioChecker = scenarioCheckerRef.current!;