Be even more explicit with notification icon store update to avoid any magic
This commit is contained in:
parent
6b8ab62930
commit
0d5201ceae
|
@ -13,7 +13,10 @@
|
|||
|
||||
onMount(() => {
|
||||
const interval = setInterval(() => {
|
||||
$store.highlightFeedbackIcon = analytics.highlightFeedbackIcon()
|
||||
store.update(state => {
|
||||
state.highlightFeedbackIcon = analytics.highlightFeedbackIcon()
|
||||
return state
|
||||
})
|
||||
}, FIVE_MINUTES)
|
||||
return () => clearInterval(interval)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue