Make event menu/share generic

This commit is contained in:
Jon Staab
2025-02-06 10:14:29 -08:00
parent 2d67a9bcf6
commit 7848859153
7 changed files with 27 additions and 150 deletions
+1 -2
View File
@@ -3,7 +3,6 @@
import {pubkey} from "@welshman/app"
import ReactionSummary from "@app/components/ReactionSummary.svelte"
import ThunkStatusOrDeleted from "@app/components/ThunkStatusOrDeleted.svelte"
import ThreadMenu from "@app/components/ThreadMenu.svelte"
import EventActivity from "@app/components/EventActivity.svelte"
import EventActions from "@app/components/EventActions.svelte"
import {publishDelete, publishReaction} from "@app/commands"
@@ -37,6 +36,6 @@
{#if showActivity}
<EventActivity {url} {path} {event} />
{/if}
<EventActions {url} {event} component={ThreadMenu} />
<EventActions {url} {event} noun="Thread" />
</div>
</div>