Skip to content

Commit

Permalink
removed extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed Feb 28, 2024
1 parent ba2d857 commit b233bb2
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }` );
Expand Down Expand Up @@ -103,7 +92,6 @@ const SiteGen = () => {
useEffect( () => {
document.body.classList.add( `nfd-brand-${ newfoldBrand }` );
}, [ newfoldBrand ] );
const location = useLocation();

const prevSiteGenErrorStatus = useRef();

Expand Down

0 comments on commit b233bb2

Please sign in to comment.