diff --git a/src/containers/CodeStats.jsx b/src/containers/CodeStats.jsx index f77091f..9cdc912 100644 --- a/src/containers/CodeStats.jsx +++ b/src/containers/CodeStats.jsx @@ -21,8 +21,8 @@ const CodeStats = () => { const os = data?.operating_systems const osMetric = os ? (
- {os[0]?.key}: {convertSeconds(os[0].total)}, {os[1]?.key}:{" "} - {convertSeconds(os[1].total)} + {os[0]?.key}: {convertSeconds(os[0]?.total)}, {os[1]?.key}:{" "} + {convertSeconds(os[1]?.total || 0) || null}
) : ( "Error"