forked from coracle/flotilla
Rename ThreadReply to EventReply
This commit is contained in:
@@ -12,11 +12,9 @@
|
||||
const {
|
||||
url,
|
||||
event,
|
||||
hideActions = false,
|
||||
}: {
|
||||
url: string
|
||||
event: TrustedEvent
|
||||
hideActions?: boolean
|
||||
} = $props()
|
||||
|
||||
const meta = $derived(fromPairs(event.tags) as Record<string, string>)
|
||||
@@ -40,8 +38,6 @@
|
||||
<Content {event} expandMode="inline" quoteProps={{relays: [url]}} />
|
||||
<div class="flex w-full flex-col items-end justify-between gap-2 sm:flex-row">
|
||||
<EventPostedBy {event} />
|
||||
{#if !hideActions}
|
||||
<CalendarEventActions showActivity {url} {event} />
|
||||
{/if}
|
||||
<CalendarEventActions showActivity {url} {event} />
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
@@ -11,11 +11,9 @@
|
||||
const {
|
||||
url,
|
||||
event,
|
||||
hideActions = false,
|
||||
}: {
|
||||
url: string
|
||||
event: TrustedEvent
|
||||
hideActions?: boolean
|
||||
} = $props()
|
||||
|
||||
const title = event.tags.find(nthEq(0, "title"))?.[1]
|
||||
@@ -37,8 +35,6 @@
|
||||
<Content {event} expandMode="inline" quoteProps={{relays: [url]}} />
|
||||
<div class="flex w-full flex-col items-end justify-between gap-2 sm:flex-row">
|
||||
<EventPostedBy {event} />
|
||||
{#if !hideActions}
|
||||
<ThreadActions showActivity {url} {event} />
|
||||
{/if}
|
||||
<ThreadActions showActivity {url} {event} />
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user