table improvement

pull/4735/head
aniket-engg 6 months ago committed by Aniket
parent a775800acd
commit eb84f6aefe
  1. 4
      libs/remix-ui/run-tab/src/lib/components/solScanTable.tsx

@ -9,7 +9,7 @@ export function SolScanTable(props: SolScanTableProps) {
const { scanDetails } = props const { scanDetails } = props
return ( return (
<table className="table h6 table-sm"> <table className="table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<td scope="col">ID</td> <td scope="col">ID</td>
@ -22,7 +22,7 @@ export function SolScanTable(props: SolScanTableProps) {
{ {
Array.from(scanDetails, (template) => { Array.from(scanDetails, (template) => {
return ( return (
<tr> <tr key={template.template_details.issue_id}>
<td scope="col">{template.template_details.issue_id}</td> <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_name}</td>
<td scope="col">{template.template_details.issue_severity}</td> <td scope="col">{template.template_details.issue_severity}</td>

Loading…
Cancel
Save