mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-20 21:12:38 +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}
|
||||
pubkey={isOwnMessage ? getMessageRecipient(event) ?? "" : event.pubkey}
|
||||
>
|
||||
{(text) => <Text>{text}</Text>}
|
||||
{(text) => <Text whiteSpace="pre-wrap">{text}</Text>}
|
||||
</DecryptPlaceholder>
|
||||
</CardBody>
|
||||
</Card>
|
||||
|
Reference in New Issue
Block a user