mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 04:39:19 +02:00
fix newlines in dms
This commit is contained in:
parent
b431dec25d
commit
53055985df
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user