diff --git a/apps/web/components/apps/installation/ConfigureStepCard.tsx b/apps/web/components/apps/installation/ConfigureStepCard.tsx index 73a774d236..21dea8b9c3 100644 --- a/apps/web/components/apps/installation/ConfigureStepCard.tsx +++ b/apps/web/components/apps/installation/ConfigureStepCard.tsx @@ -213,7 +213,6 @@ const ConfigureStepCardContent: FC = (props) => { ); const [submit, setSubmit] = useState(false); - const [mounted, setMounted] = useState(false); const allUpdated = updatedEventTypesStatus.every((item) => item.every((iitem) => iitem.updated)); useEffect(() => { @@ -223,11 +222,7 @@ const ConfigureStepCardContent: FC = (props) => { } }, [submit, allUpdated, mainForSubmitRef]); - useEffect(() => { - setMounted(true); - }, []); - - if (!formPortalRef?.current || !mounted) { + if (!formPortalRef?.current) { return null; } diff --git a/apps/web/modules/apps/installation/[[...step]]/step-view.tsx b/apps/web/modules/apps/installation/[[...step]]/step-view.tsx index 249be73406..dfd8121369 100644 --- a/apps/web/modules/apps/installation/[[...step]]/step-view.tsx +++ b/apps/web/modules/apps/installation/[[...step]]/step-view.tsx @@ -310,7 +310,6 @@ const OnboardingPage = ({ /> )} {currentStep === AppOnboardingSteps.CONFIGURE_STEP && - formPortalRef.current && eventTypeGroups && (