aboutsummaryrefslogtreecommitdiff
path: root/src/components/notes.jsx
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-11 21:54:00 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-11 21:54:00 -0500
commitb9509422dd5f4c97d5c0746229037a53712ac7fe (patch)
tree351ffdadfbdc0b17e40d4cbb7beea816a86ed0aa /src/components/notes.jsx
parentfb5a063276f18e3238b13577358e811aa5f9ee31 (diff)
switched to sqlite database
Diffstat (limited to 'src/components/notes.jsx')
-rw-r--r--src/components/notes.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notes.jsx b/src/components/notes.jsx
index 5f57b7f..d1bc454 100644
--- a/src/components/notes.jsx
+++ b/src/components/notes.jsx
@@ -6,7 +6,7 @@ export default function Notes() {
const { messages } = useContext(AppContext);
return (<>
{messages.map((chatbubble) => {
- return <ChatBubble key={chatbubble._id.$oid} id={chatbubble._id.$oid} position={chatbubble.position} text={chatbubble.message}/>;
+ return <ChatBubble key={chatbubble.message_id} id={chatbubble.message_id} position={chatbubble.position} text={chatbubble.message}/>;
})}
</>);
}