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