Update to new version of welshman, including new thunks and wrap manager
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<script lang="ts">
|
||||
import type {TrustedEvent} from "@welshman/util"
|
||||
import {deriveIsDeleted} from "@welshman/store"
|
||||
import {thunks, repository} from "@welshman/app"
|
||||
import {thunks, mergeThunks, repository} from "@welshman/app"
|
||||
import ThunkStatus from "@app/components/ThunkStatus.svelte"
|
||||
|
||||
const {event}: {event: TrustedEvent} = $props()
|
||||
|
||||
const thunk = $derived($thunks[event.id])
|
||||
const deleted = deriveIsDeleted(repository, event)
|
||||
const thunk = $derived(mergeThunks($thunks.filter(t => t.event.id === event.id)))
|
||||
</script>
|
||||
|
||||
{#if $deleted}
|
||||
|
||||
Reference in New Issue
Block a user