X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Froutes%2Findex.svelte;h=e178912c9aa43fe9a3f902589cc76463e8537099;hb=21b88e262ac900ec0a078486907453c1d0c1fb8b;hp=ce5a5960a002a3a1695d04a186e7b0736b43a6b1;hpb=4df749d4b0a446ba1571f9984cb047e219a35e80;p=frontend-next.git diff --git a/src/routes/index.svelte b/src/routes/index.svelte index ce5a596..e178912 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -24,15 +24,14 @@ SPDX-License-Identifier: GPL-3.0-only --> onMount(async () => { fetchTime = performance.now(); - image = (await fetchRandomImage()).image; + image = await fetchRandomImage(); fetchTime = performance.now() - fetchTime; - complete = true; }); - home | senpy-club + Home | The Senpy Club
@@ -41,23 +40,40 @@ SPDX-License-Identifier: GPL-3.0-only --> {#if !complete}

Fetching a random image...

{:else} -
- + - Fetch time: {fetchTime}ms + +

Double fetch_time = {fetchTime}; /* ms */

{/if} -

Contributing

-

- If you'd like to support the project in any way, check out the repositories: -

+

Related Projects

+

Check out these other [The] Senpy Club-related projects!