From 33338a9254f9480a58218060ef42f3d4e82d0d89 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 23 Aug 2021 15:56:54 +0100 Subject: [PATCH] spacing in analytics --- packages/builder/src/analytics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/analytics.js b/packages/builder/src/analytics.js index bcc59eb311..7442816aa5 100644 --- a/packages/builder/src/analytics.js +++ b/packages/builder/src/analytics.js @@ -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())