diff --git a/src/app/game/berry-dash/chatroom/page.tsx b/src/app/game/berry-dash/chatroom/page.tsx index 6ee9d02..54a7a5d 100644 --- a/src/app/game/berry-dash/chatroom/page.tsx +++ b/src/app/game/berry-dash/chatroom/page.tsx @@ -92,7 +92,11 @@ export default function BerryDashChatroom () { setMessages(prev => prev.map(msg => msg.id === message.data.id - ? { ...msg, content: btoa(message.data.newContent) } + ? { + ...msg, + content: message.data.newContent, + editedAt: Number(message.data.editedAt) + } : msg ) ) @@ -204,7 +208,7 @@ export default function BerryDashChatroom () { ) ) setEditing(true) - setInput(atob(item.content)) + setInput(item.content) }} >

- {atob(item.content)} + {item.content}