refactor(main): reduce age update duration
This commit is contained in:
parent
cabd9a8934
commit
3249c0f970
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
onMount(() => {
|
||||
const interval = setInterval(() => {
|
||||
age = getAge() // first called after the delay
|
||||
}, 50)
|
||||
}, 100)
|
||||
|
||||
return () => {
|
||||
clearInterval(interval)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue