From 5b58c507066a5ddfea558ea717d2c07dbdcffa62 Mon Sep 17 00:00:00 2001 From: Spicer Matthews Date: Fri, 23 Aug 2024 11:33:28 -0700 Subject: [PATCH] Too away the refresh on the ad window. --- src/components/optinvideo/OptInVideo.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/optinvideo/OptInVideo.js b/src/components/optinvideo/OptInVideo.js index 63f0a341..9c341772 100644 --- a/src/components/optinvideo/OptInVideo.js +++ b/src/components/optinvideo/OptInVideo.js @@ -27,12 +27,6 @@ const OptInVideo = ({ user }) => { const onClose = () => { setShowModal(false) gtag('event', 'optin-video_modal_close') - - // Wait 1 second and refesh the page. - setTimeout(() => { - // eslint-disable-next-line no-undef - window.location.reload() - }, 1000) } //