diff options
author | crupest <crupest@outlook.com> | 2021-06-26 18:50:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-26 18:50:27 +0800 |
commit | b468fd9a0119b97d1ecc1090a028975e917aa75f (patch) | |
tree | f5b5610f52cc79ac1c427587089afb6d2af39708 /FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx | |
parent | 29da3cef05ef138af2028ad44a27d706e9ae2df8 (diff) | |
download | timeline-b468fd9a0119b97d1ecc1090a028975e917aa75f.tar.gz timeline-b468fd9a0119b97d1ecc1090a028975e917aa75f.tar.bz2 timeline-b468fd9a0119b97d1ecc1090a028975e917aa75f.zip |
...
Diffstat (limited to 'FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx b/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx index 06e508e6..5e59bee4 100644 --- a/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx +++ b/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx @@ -35,8 +35,7 @@ const TimelinePostEditText: React.FC<TimelinePostEditTextProps> = (props) => { const { text, disabled, onChange, className, style } = props; return ( - <Form.Control - as="textarea" + <textarea value={text} disabled={disabled} onChange={(event) => { @@ -80,7 +79,7 @@ const TimelinePostEditImage: React.FC<TimelinePostEditImageProps> = (props) => { return ( <> - <Form.Control + <input type="file" onChange={onInputChange} accept="image/*" |