edge-ruedelasoif/src/routes/+layout.svelte

16 lines
201 B
Svelte
Raw Normal View History

2024-02-23 20:48:46 +01:00
<script>
import "../app.css";
import { goto } from '$app/navigation';
export let data;
if(data.player.partyid)
goto("/game");
</script>
<div class="p-3">
<slot />
</div>