diff --git a/src/hooks/useGuidePopup.tsx b/src/hooks/useGuidePopup.tsx index 0785ee7..36107b1 100644 --- a/src/hooks/useGuidePopup.tsx +++ b/src/hooks/useGuidePopup.tsx @@ -7,7 +7,7 @@ export const useGuidePopup = () => { useEffect(() => { const checkPopupDate = () => { const currentDate = new Date().toDateString() - if (!lastClosedDate || new Date(lastClosedDate) < new Date(currentDate)) { + if (!lastClosedDate && new Date(lastClosedDate) < new Date(currentDate)) { openPopup() } }