add membership and permissions
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import '../app.css';
|
||||
let { children } = $props();
|
||||
import { user } from '$stores/user';
|
||||
import type { LayoutData } from './$types';
|
||||
|
||||
let { data } = $props<LayoutData>();
|
||||
|
||||
// Set the user store with data from the server
|
||||
$: $user = data.user;
|
||||
</script>
|
||||
|
||||
<div class="layout">
|
||||
|
||||
Reference in New Issue
Block a user