Skip to content

Commit 63347da

Browse files
authored
Merge pull request #111 from DDD-Community/feat/#46
[feat/#46] 코드 원복
2 parents 5547402 + 9e018a5 commit 63347da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useGuidePopup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const useGuidePopup = () => {
77
useEffect(() => {
88
const checkPopupDate = () => {
99
const currentDate = new Date().toDateString()
10-
if (!lastClosedDate && new Date(lastClosedDate) < new Date(currentDate)) {
10+
if (!lastClosedDate || new Date(lastClosedDate) < new Date(currentDate)) {
1111
openPopup()
1212
}
1313
}

0 commit comments

Comments
 (0)