parse html description

pull/4735/head
aniket-engg 6 months ago committed by Aniket
parent 7df50ea2ac
commit 636303656c
  1. 3
      libs/remix-ui/run-tab/src/lib/components/solScanTable.tsx

@ -1,5 +1,6 @@
// eslint-disable-next-line no-use-before-define
import React from 'react'
import parse from 'html-react-parser';
interface SolScanTableProps {
scanDetails: Record<string, any>[]
@ -26,7 +27,7 @@ export function SolScanTable(props: SolScanTableProps) {
<td scope="col">{template.template_details.issue_id}</td>
<td scope="col">{template.template_details.issue_name}</td>
<td scope="col">{template.template_details.issue_severity}</td>
<td scope="col">{template.template_details.static_issue_description}</td>
<td scope="col">{parse(template.template_details.static_issue_description)}</td>
</tr>
)
})

Loading…
Cancel
Save