diff options
Diffstat (limited to 'web/src/lib/ui/CharacterRow.svelte')
| -rw-r--r-- | web/src/lib/ui/CharacterRow.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/src/lib/ui/CharacterRow.svelte b/web/src/lib/ui/CharacterRow.svelte index b4f9b48..52ebfc3 100644 --- a/web/src/lib/ui/CharacterRow.svelte +++ b/web/src/lib/ui/CharacterRow.svelte @@ -35,10 +35,10 @@ onAddSummon: () => void; } = $props(); - const seats = session.seats; - const player = session.player; - const gameState = session.state; - const mySession = session.session; // my own {id, role} (store) + const seats = $derived(session.seats); + const player = $derived(session.player); + const gameState = $derived(session.state); + const mySession = $derived(session.session); // my own {id, role} (store) let cls = $state<ClassData | null>(null); $effect(() => { |
