fix: 🐛
This commit is contained in:
parent
8db655cc37
commit
069ac34b86
4 changed files with 25 additions and 9 deletions
|
|
@ -104,7 +104,7 @@ export default function PostContent({
|
|||
<div className="flex gap-2 items-center">
|
||||
<Uploader
|
||||
onUploadSuccess={({ url }) => {
|
||||
textareaRef.current?.appendText(url + '\n')
|
||||
textareaRef.current?.appendText(url, true)
|
||||
}}
|
||||
onUploadingChange={(uploading) =>
|
||||
setUploadingFiles((prev) => (uploading ? prev + 1 : prev - 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue