Skip to content

Commit

Permalink
Merge pull request #111 from DDD-Community/feat/#46
Browse files Browse the repository at this point in the history
[feat/#46] 코드 원복
  • Loading branch information
lkhoony authored Sep 28, 2024
2 parents 5547402 + 9e018a5 commit 63347da
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 63347da

Please sign in to comment.