Compare commits
1 Commits
fix/openap
...
fix/commen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b7bf45512 |
@@ -132,7 +132,11 @@ const Comment = ({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{!isEditing ? (
|
{!isEditing ? (
|
||||||
<p className="mt-2 text-sm">{comment}</p>
|
<ContentEditable
|
||||||
|
html={comment ?? ""}
|
||||||
|
disabled={true}
|
||||||
|
className="mt-2 text-sm"
|
||||||
|
/>
|
||||||
) : (
|
) : (
|
||||||
<form onSubmit={handleSubmit(onSubmit)}>
|
<form onSubmit={handleSubmit(onSubmit)}>
|
||||||
<ContentEditable
|
<ContentEditable
|
||||||
|
|||||||
Reference in New Issue
Block a user