Fix DOM nesting warning by replacing <p> with <div> in comment note section
This commit is contained in:
parent
6d2c2c5e0b
commit
6f88980986
@ -175,13 +175,14 @@ const ReportTaskComments = ({ commentsData, closeModal }) => {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p className="fw-bold my-2 text-start my-2">
|
<div className="fw-bold my-2 text-start d-flex">
|
||||||
Note :{" "}
|
<span>Note:</span>
|
||||||
<div
|
<div
|
||||||
className="fw-normal ms-5"
|
className="fw-normal ms-2"
|
||||||
dangerouslySetInnerHTML={{ __html: commentsData?.description }}
|
dangerouslySetInnerHTML={{ __html: commentsData?.description }}
|
||||||
/>
|
/>
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
{commentsData?.reportedPreSignedUrls?.length > 0 && (
|
{commentsData?.reportedPreSignedUrls?.length > 0 && (
|
||||||
<div className=" text-start">
|
<div className=" text-start">
|
||||||
<p className="fw-bold m-0">Attachment</p>
|
<p className="fw-bold m-0">Attachment</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user