React to addressed events getting updated for delete status

This commit is contained in:
Jon Staab 2026-08-22 11:40:05 -07:00
parent 735231f8bc
commit 35ed7bc09f

View file

@ -14,7 +14,8 @@
const {event, status, children}: Props = $props()
const deleted = deriveIsDeleted(event)
// Editing a replaceable event hands this a different event
const deleted = $derived(deriveIsDeleted(event))
const history = $thunks.history
const thunk = $derived($thunks.merge($history.filter(t => t.event.id === event.id)))
</script>