feat: update chat

This commit is contained in:
Timothy J. Baek committed 2023-12-26 10:41:55 -08:00
1 parent 0810a2648f
commit 1303407f53
3 files changed
+23 -1

No files matched your search

+1
View File
@@ -254,6 +254,7 @@
};
const rateMessage = async (messageIdx, rating) => {
// TODO: Move this function to parent
messages = messages.map((message, idx) => {
if (messageIdx === idx) {
message.rating = rating;