From b468fd9a0119b97d1ecc1090a028975e917aa75f Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 26 Jun 2021 18:50:27 +0800
Subject: ...

---
 FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx')

diff --git a/FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx b/FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx
index 0e43cb6e..6cb64dd3 100644
--- a/FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx
+++ b/FrontEnd/src/views/timeline-common/MarkdownPostEdit.tsx
@@ -126,8 +126,7 @@ const MarkdownPostEdit: React.FC<MarkdownPostEditProps> = ({
             id: "text",
             tabText: "edit",
             page: (
-              <Form.Control
-                as="textarea"
+              <textarea
                 value={text}
                 disabled={process}
                 onChange={(event) => {
@@ -161,7 +160,7 @@ const MarkdownPostEdit: React.FC<MarkdownPostEditProps> = ({
                     />
                   </div>
                 ))}
-                <Form.Control
+                <input
                   type="file"
                   accept="image/jpeg,image/jpg,image/png,image/gif,image/webp"
                   onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
-- 
cgit v1.2.3

