fix(#54): Address PR comments

This commit is contained in:
Josh Creek
2026-01-10 20:32:34 +00:00
parent c10b526b3e
commit a7d878fffd
+6 -1
View File
@@ -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 {