Fix chat menu item active state
This commit is contained in:
parent
43b207c4dc
commit
34945d1c42
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
const {...props}: Props = $props()
|
||||
|
||||
const others = remove($pubkey!, props.pubkeys)
|
||||
const active = $page.params.chat === props.id
|
||||
const active = $derived($page.params.chat === props.id)
|
||||
const path = makeChatPath(props.pubkeys)
|
||||
|
||||
onMount(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue