spacing in analytics
This commit is contained in:
parent
003e941cc3
commit
33338a9254
|
@ -79,6 +79,7 @@ const isFeedbackTimeElapsed = sinceDateStr => {
|
|||
const feedbackMilliseconds = feedbackHours * 60 * 60 * 1000
|
||||
return Date.now() > sinceDate + feedbackMilliseconds
|
||||
}
|
||||
|
||||
function submitFeedback(values) {
|
||||
if (!analyticsEnabled || !process.env.POSTHOG_TOKEN) return
|
||||
localStorage.setItem(FEEDBACK_SUBMITTED_KEY, Date.now())
|
||||
|
|
Loading…
Reference in New Issue