Feedback check interval to const

This commit is contained in:
Michael Shanks 2020-10-26 11:35:38 +00:00
parent 6247acfcd2
commit 3d126579ce
1 changed files with 3 additions and 1 deletions

View File

@ -6,12 +6,14 @@
import FeedbackIframe from "./FeedbackIframe.svelte" import FeedbackIframe from "./FeedbackIframe.svelte"
import analytics from "analytics" import analytics from "analytics"
const FIVE_MINUTES = 300000
let iconContainer let iconContainer
let popover let popover
setInterval(() => { setInterval(() => {
$store.highlightFeedbackIcon = analytics.highlightFeedbackIcon() $store.highlightFeedbackIcon = analytics.highlightFeedbackIcon()
}, 300000 /*check every 5 minutes*/) }, FIVE_MINUTES)
</script> </script>
<span <span