Update edit-menu.tsx

This commit is contained in:
Tom (plebeius.eth)
2024-08-27 21:37:00 +02:00
parent c521ccbc2e
commit 45fd7fc82c
+1 -1
View File
@@ -146,7 +146,7 @@ const EditMenu = ({ isAccountMod, isAccountCommentAuthor, isCommentAuthorMod, po
</div>
{isContentEditorOpen && (
<div>
<textarea className={styles.editTextarea} value={publishCommentEditOptions.content ?? ''} onChange={handleContentChange} />
<textarea className={styles.editTextarea} defaultValue={publishCommentEditOptions.content ?? ''} onChange={handleContentChange} />
</div>
)}
</>