From 1c34c123aa1addb5e843b741dca1cf07d6c05a48 Mon Sep 17 00:00:00 2001
From: heimoshuiyu
Date: Thu, 20 Jul 2023 11:44:17 +0800
Subject: [PATCH] move edit to the bottom of message
---
src/message.tsx | 57 +++++++++++++++++++++++++------------------------
1 file changed, 29 insertions(+), 28 deletions(-)
diff --git a/src/message.tsx b/src/message.tsx
index 48fd861..0049e92 100644
--- a/src/message.tsx
+++ b/src/message.tsx
@@ -98,8 +98,37 @@ export default function Message(props: Props) {
chat.content
)}
+
+
+ {showEdit && (
+
+
+
+
+
+
+ )}
@@ -136,34 +165,6 @@ export default function Message(props: Props) {
>
❌
-
- {showEdit && (
-
-
-
-
-
-
- )}
{
chat.example = !chat.example;