mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-12 18:43:45 +00:00
fix(#54): Address PR comments
This commit is contained in:
@@ -16,13 +16,18 @@
|
|||||||
onDestroy(unsubscribe);
|
onDestroy(unsubscribe);
|
||||||
|
|
||||||
let showAnimation = false;
|
let showAnimation = false;
|
||||||
|
let animationTimer: ReturnType<typeof setTimeout>;
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
setTimeout(() => {
|
animationTimer = setTimeout(() => {
|
||||||
showAnimation = true;
|
showAnimation = true;
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onDestroy(() => {
|
||||||
|
clearTimeout(animationTimer);
|
||||||
|
});
|
||||||
|
|
||||||
async function getUser() {
|
async function getUser() {
|
||||||
try {
|
try {
|
||||||
const {
|
const {
|
||||||
|
|||||||
Reference in New Issue
Block a user