summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/popup-information/index.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src-migrate/modules/popup-information/index.tsx b/src-migrate/modules/popup-information/index.tsx
index dd6da458..0d36f8e9 100644
--- a/src-migrate/modules/popup-information/index.tsx
+++ b/src-migrate/modules/popup-information/index.tsx
@@ -12,9 +12,7 @@ const PagePopupInformation = () => {
const [active, setActive] = useState<boolean>(false);
useEffect(() => {
- if (isHomePage && !auth) {
- setActive(true);
- }
+ if (isHomePage && !auth) setActive(true);
}, [isHomePage, auth]);
return (
<div className='group'>
@@ -24,7 +22,7 @@ const PagePopupInformation = () => {
close={() => setActive(false)}
mode='desktop'
>
- <div className='w-[350px] md:w-[530px] '>
+ <div className='w-[350px] md:w-[530px]' onClick={() => setActive(false)}>
<PageContent path='/onbording-popup' />
</div>
</Modal>