Skip to content

Commit

Permalink
PXBF-dev: opt out of hide app
Browse files Browse the repository at this point in the history
  • Loading branch information
scottqueen-bixal committed Oct 16, 2024
1 parent f33091c commit f189923
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions benefit-finder/src/shared/components/Modal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit f189923

Please sign in to comment.