mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-21 14:09:17 +02:00
fix newlines in dms
This commit is contained in:
@@ -33,7 +33,7 @@ function Message({ event }: { event: NostrEvent } & Omit<CardProps, "children">)
|
|||||||
data={event.content}
|
data={event.content}
|
||||||
pubkey={isOwnMessage ? getMessageRecipient(event) ?? "" : event.pubkey}
|
pubkey={isOwnMessage ? getMessageRecipient(event) ?? "" : event.pubkey}
|
||||||
>
|
>
|
||||||
{(text) => <Text>{text}</Text>}
|
{(text) => <Text whiteSpace="pre-wrap">{text}</Text>}
|
||||||
</DecryptPlaceholder>
|
</DecryptPlaceholder>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
</Card>
|
</Card>
|
||||||
|
Reference in New Issue
Block a user