This commit is contained in:
parent
2e7baaf393
commit
ab877ac96d
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ const CodeStats = () => {
|
||||||
const os = data?.operating_systems
|
const os = data?.operating_systems
|
||||||
const osMetric = os ? (
|
const osMetric = os ? (
|
||||||
<div className="text-sm">
|
<div className="text-sm">
|
||||||
{os[0]?.key}: {convertSeconds(os[0].total)}, {os[1]?.key}:{" "}
|
{os[0]?.key}: {convertSeconds(os[0]?.total)}, {os[1]?.key}:{" "}
|
||||||
{convertSeconds(os[1].total)}
|
{convertSeconds(os[1]?.total || 0) || null}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
"Error"
|
"Error"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue