From 5d8da7a09c9565b6372b73f4db4bd42c5075c81d Mon Sep 17 00:00:00 2001 From: Qi Liu Date: Tue, 19 Nov 2024 10:45:37 -0800 Subject: [PATCH] update siterouter --- client-react/src/pages/app/SiteRouter.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-react/src/pages/app/SiteRouter.tsx b/client-react/src/pages/app/SiteRouter.tsx index bc2318c267..59c8d9b67a 100644 --- a/client-react/src/pages/app/SiteRouter.tsx +++ b/client-react/src/pages/app/SiteRouter.tsx @@ -82,7 +82,7 @@ const SiteRouter: React.FC> = () => { const [isWordPressApplication, setIsWordPressApplication] = useState(false); const [isKubeApplication, setIsKubeApplication] = useState(false); const [isFlexConsumptionApplication, setIsFlexConsumptionApplication] = useState(false); - const [isWorkflowApploading, setIsWorkflowApploading] = useState(false); + const [isWorkflowApplication, setIsWorkflowApplication] = useState(false); const [isLoading, setIsLoading] = useState(false); const fetchDataAndSetState = useCallback(async (resourceId?: string) => { @@ -141,7 +141,7 @@ const SiteRouter: React.FC> = () => { setIsKubeApplication(isKubeApp(site)); setSiteAppEditState(editMode); setIsFlexConsumptionApplication(isFlexConsumption(site)); - setIsWordPressApplication(isWorkflowApp(site)); + setIsWorkflowApplication(isWorkflowApp(site)); } } }, []); @@ -167,7 +167,7 @@ const SiteRouter: React.FC> = () => { isWordPressApp: isWordPressApplication, isKubeApp: isKubeApplication, isFlexConsumptionApp: isFlexConsumptionApplication, - isWorkflowApp: isWordPressApplication, + isWorkflowApp: isWorkflowApplication, refresh: () => fetchDataAndSetState(resourceId), setIsLoading, }}>