Refactoring: use proper way to initialize the main svelte components

This commit is contained in:
Pieter Vander Vennet 2024-06-15 02:21:18 +02:00
parent 4dc48274dc
commit 5354cbf6c3
15 changed files with 43 additions and 30 deletions

View file

@ -30,7 +30,7 @@
}
> = UIEventSource.FromPromise(Utils.downloadJsonCached(source))
</script>
<main>
<h1>Contributed images with MapComplete: leaderboard</h1>
{#if $data}
@ -67,3 +67,4 @@
<div>
Logged in as {$loggedInContributor}
</div>
</main>