Skip to content

Commit

Permalink
fix: add null check for compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mari1912 committed Jul 19, 2024
1 parent e677e4c commit d77eb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/Summary/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Summary = ({
const SummaryItem = ({ arch, compilers }: ISummaryItem): JSX.Element => {
const compilersElement = useMemo(
() =>
compilers.map(compiler => (
compilers?.map(compiler => (
<span key={compiler} className="line-clamp-1">
{compiler}
</span>
Expand Down

0 comments on commit d77eb43

Please sign in to comment.