From f189923cbcabd5d249709992dc4e845fcf84fa63 Mon Sep 17 00:00:00 2001 From: scottqueen-bixal Date: Wed, 16 Oct 2024 12:30:00 -0400 Subject: [PATCH] PXBF-dev: opt out of hide app --- .../src/shared/components/Modal/index.jsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/benefit-finder/src/shared/components/Modal/index.jsx b/benefit-finder/src/shared/components/Modal/index.jsx index 726925755..b139438e1 100644 --- a/benefit-finder/src/shared/components/Modal/index.jsx +++ b/benefit-finder/src/shared/components/Modal/index.jsx @@ -91,20 +91,20 @@ const Modal = ({ modalOpen && scrollLock.enableScroll() }, [modalOpen]) - // effects - useEffect(() => { - const cleanUp = () => { - const root = document.getElementById('benefit-finder') + // // effects + // useEffect(() => { + // const cleanUp = () => { + // const root = document.getElementById('benefit-finder') - root && - root.hasAttribute('aria-hidden') && - root.removeAttribute('aria-hidden') - } + // root && + // root.hasAttribute('aria-hidden') && + // root.removeAttribute('aria-hidden') + // } - // set our application root id here - NavModal.setAppElement('#benefit-finder') - return cleanUp() - }, []) + // // set our application root id here + // NavModal.setAppElement('#benefit-finder') + // return cleanUp() + // }, []) // handle dataLayer useEffect(() => {