Refactor: manage statusCode handling within the child component

This commit is contained in:
Rogerio Bordignon committed 2024-11-18 01:42:33 -03:00
1 parent fd88df5a59
commit 6d31c9443c
2 files changed
+18 -11

No files matched your search

@@ -198,7 +198,7 @@ const IncidentTable = ({ monitors, selectedMonitor, filter }) => {
</TableCell>
<TableCell>{formattedDate}</TableCell>
<TableCell>
<HttpStatusLabel status={check.statusCode || "N/A"} />
<HttpStatusLabel status={check.statusCode} />
</TableCell>
<TableCell>{check.message}</TableCell>
</TableRow>