fix: remove redundant !isEditing guard in image-embed-only branch
This commit is contained in:
@@ -380,7 +380,7 @@ export function Message({ message, isCompact, isFirstInGroup, previousMessageId
|
|||||||
) : imageEmbedSourceUrl ? (
|
) : imageEmbedSourceUrl ? (
|
||||||
<>
|
<>
|
||||||
{/* URL text suppressed — embeds render the image */}
|
{/* URL text suppressed — embeds render the image */}
|
||||||
{!isEditing && message.embeds && message.embeds.length > 0 && (
|
{message.embeds && message.embeds.length > 0 && (
|
||||||
<div className="flex flex-col gap-2 mt-1">
|
<div className="flex flex-col gap-2 mt-1">
|
||||||
{message.embeds.map((embed) => (
|
{message.embeds.map((embed) => (
|
||||||
<EmbedRenderer key={embed.id} embed={embed} />
|
<EmbedRenderer key={embed.id} embed={embed} />
|
||||||
|
|||||||
Reference in New Issue
Block a user