Skip to content

Commit

Permalink
[feat/#46] 코드 원복
Browse files Browse the repository at this point in the history
  • Loading branch information
lkhoony committed Sep 28, 2024
1 parent 016834f commit 9e018a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useGuidePopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 9e018a5

Please sign in to comment.