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);
|
||||
|
||||
let showAnimation = false;
|
||||
let animationTimer: ReturnType<typeof setTimeout>;
|
||||
|
||||
onMount(() => {
|
||||
setTimeout(() => {
|
||||
animationTimer = setTimeout(() => {
|
||||
showAnimation = true;
|
||||
}, 100);
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
clearTimeout(animationTimer);
|
||||
});
|
||||
|
||||
async function getUser() {
|
||||
try {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user