Skip to content

Commit

Permalink
Change empty string to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanEngland committed Aug 9, 2024
1 parent 745c44e commit 9bc9362
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ValidationOverview(props: {cycle: number, setValid: any}
{data?.info}
</Table.Td>
</Table.Tr>
{data?.warnings !== "" &&
{data?.warnings !== undefined &&
(<Table.Tr>
<Table.Td>
<IconAlertCircle size={ICON_SIZE} />
Expand All @@ -52,7 +52,7 @@ export default function ValidationOverview(props: {cycle: number, setValid: any}
{data?.warnings}
</Table.Td>
</Table.Tr>)}
{data?.errors !== "" &&
{data?.errors !== undefined &&
(<Table.Tr>
<Table.Td>
<IconCircleX size={ICON_SIZE} />
Expand Down

0 comments on commit 9bc9362

Please sign in to comment.