Fix warning, hide images in quotes

This commit is contained in:
Jon Staab
2025-02-05 08:53:26 -08:00
parent af171bd2c9
commit 3e214881a3
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -152,8 +152,8 @@
{:else if isEvent(parsed) || isAddress(parsed)}
{#if isBlock(i)}
<ContentQuote {...quoteProps} value={parsed.value} {event}>
{#snippet noteContent({event}: {event: TrustedEvent})}
<Content {quoteProps} {hideMedia} {event} depth={depth + 1} />
{#snippet noteContent({event, minimal}: {event: TrustedEvent; minimal: boolean})}
<Content {quoteProps} hideMedia={minimal || hideMedia} {event} depth={depth + 1} />
{/snippet}
</ContentQuote>
{:else}