Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: length on undefined values
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Sep 12, 2024
1 parent 4bc6e65 commit 7789426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/account/repo/checks/[id]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default async function Page({ params }) {
extra: `Added ${formatDistance(check.createdAt, new Date(), {
addSuffix: true,
})}`,
description: `Checks performed ${check.healthchecks.length} (${check.ignoreChecks.length} checks ignored)`,
description: `Checks performed ${check.healthchecks?.length} (${check.ignoreChecks?.length} checks ignored)`,
}))}
/>
</>
Expand Down

0 comments on commit 7789426

Please sign in to comment.