Updates and more
This commit is contained in:
11
src/components/PlayerCount.svelte
Normal file
11
src/components/PlayerCount.svelte
Normal file
@@ -0,0 +1,11 @@
|
||||
<script lang="ts">
|
||||
|
||||
import {server} from "./stores/server.ts";
|
||||
</script>
|
||||
|
||||
{#await $server}
|
||||
{:then data}
|
||||
{data.players.online}
|
||||
{:catch error}
|
||||
Error
|
||||
{/await}
|
||||
Reference in New Issue
Block a user