From b233bb2a360952bde58758e5f60c9f9b8b9e37db Mon Sep 17 00:00:00 2001 From: ajayadav09 Date: Wed, 28 Feb 2024 16:54:55 +0530 Subject: [PATCH] removed extra code --- .../NewfoldInterfaceSkeleton/SiteGen/index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js b/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js index 60aa42fee..6905a0cf5 100644 --- a/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js +++ b/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js @@ -45,17 +45,6 @@ const ThemedNewfoldInterfaceSkeleton = themeToggleHOC( const SiteGen = () => { const [ failedApi, setFailedApi ] = useState( [] ); - const { newfoldBrand } = useSelect( ( select ) => { - return { - newfoldBrand: select( nfdOnboardingStore ).getNewfoldBrand(), - }; - }, [] ); - - // Update Title and Tagline on the site. - const { editEntityRecord } = useDispatch( coreStore ); - const { getEditedEntityRecord } = useSelect( ( select ) => { - return select( coreStore ); - }, [] ); useEffect( () => { document.body.classList.add( `nfd-brand-${ newfoldBrand }` ); @@ -103,7 +92,6 @@ const SiteGen = () => { useEffect( () => { document.body.classList.add( `nfd-brand-${ newfoldBrand }` ); }, [ newfoldBrand ] ); - const location = useLocation(); const prevSiteGenErrorStatus = useRef();