fix: hydration issue ( Step 3 is not visible for all analytics apps ) (#24089)

* booking cancellation reason overflow fix

* apps-prod-issue

* resolve Step 3 blank screen in app installation flow in production

* resolve resolve Step 3 blank screen in app installation flow in production

* Update step-view.tsx

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
AnshumancanrockandAnik Dhabal Babu authored and GitHub committed 2025-09-26 07:07:24 +00:00
1 parent dcef99bf49
commit 7d5a3391f1
2 files changed
+1 -7

No files matched your search

@@ -213,7 +213,6 @@ const ConfigureStepCardContent: FC<ConfigureStepCardProps> = (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<ConfigureStepCardProps> = (props) => {
}
}, [submit, allUpdated, mainForSubmitRef]);
useEffect(() => {
setMounted(true);
}, []);
if (!formPortalRef?.current || !mounted) {
if (!formPortalRef?.current) {
return null;
}