Skip to content

Commit

Permalink
Update span to Box in Vulnerability.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliav committed Oct 25, 2023
1 parent a2b6a71 commit a511fe5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/pages/Vulnerability/Vulnerability.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,17 @@ export const Vulnerability: React.FC = () => {
</Link>
</TableCell>
<TableCell>
<span
style={{
<Box
component="span"
sx={{
borderBottom: `6px solid ${getSeverityColor({
id: vulnerability.severity ?? ''
})}`,
width: '80px'
}}
>
{vulnerability.severity}
</span>
</Box>
</TableCell>
<TableCell>{vulnerability.isKev ? 'Yes' : 'No'}</TableCell>
<TableCell>
Expand Down

0 comments on commit a511fe5

Please sign in to comment.