<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>