mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
fix: render newlines in Nova chat user messages (#1061)
Co-authored-by: Vorflux AI <noreply@vorflux.com>
This commit is contained in:
parent
9808441f6b
commit
428d3ccefa
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ export const UserMessage = memo(function UserMessage({
|
|||
transition={{ duration: 0.18, ease: "easeOut" }}
|
||||
className="max-w-[80%] origin-top-right rounded-[12px] bg-[#1B1F24] p-3 px-[14px]"
|
||||
>
|
||||
<p className="text-sm text-white">{text}</p>
|
||||
<p className="text-sm text-white whitespace-pre-wrap">{text}</p>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue