Skip to content

Commit

Permalink
[feat/#28] 모니터링 시간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lkhoony committed Aug 30, 2024
1 parent ff20e72 commit 3c36e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PoseDetector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const PoseDetector: React.FC = () => {
cntRef.current = cntRef.current + 1
if (isShowNoti) showNotification(`${getPoseName(poseType)} 감지! 자세를 바르게 앉아주세요.`)
}
}, 5 * 1000)
}, 30 * 1000)
}
} else {
clearInterval(timerRef.current)
Expand Down Expand Up @@ -321,7 +321,7 @@ const PoseDetector: React.FC = () => {
const t = getDurationInMinutes(userNoti?.duration)
notificationTimer.current = setInterval(() => {
if (userNoti.duration) sendNotification(t)
}, 1000 * t)
}, 1000 * 60 * t)
}
}, [userNoti, isSnapSaved])

Expand Down

0 comments on commit 3c36e85

Please sign in to comment.