mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 06:54:21 +02:00
hopefully fix blank settings page by using $derived instead of $state
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
import type { User } from '$lib/types';
|
||||
|
||||
let currentUser: () => User = getContext('user');
|
||||
let users = $state(page.data.users);
|
||||
let users = $derived(page.data.users);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
Reference in New Issue
Block a user