refactor(main): reduce age update duration

This commit is contained in:
Kim, Jimin 2023-07-30 02:05:43 +09:00
parent cabd9a8934
commit 3249c0f970
Signed by: pomp
GPG key ID: CE1DDB8A4A765403

View file

@ -15,7 +15,7 @@
onMount(() => { onMount(() => {
const interval = setInterval(() => { const interval = setInterval(() => {
age = getAge() // first called after the delay age = getAge() // first called after the delay
}, 50) }, 100)
return () => { return () => {
clearInterval(interval) clearInterval(interval)