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

Commit 7789426

Browse files
committed
fix: length on undefined values
1 parent 4bc6e65 commit 7789426

File tree

1 file changed

+1
-1
lines changed
  • src/app/account/repo/checks/[id]

1 file changed

+1
-1
lines changed

src/app/account/repo/checks/[id]/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default async function Page({ params }) {
144144
extra: `Added ${formatDistance(check.createdAt, new Date(), {
145145
addSuffix: true,
146146
})}`,
147-
description: `Checks performed ${check.healthchecks.length} (${check.ignoreChecks.length} checks ignored)`,
147+
description: `Checks performed ${check.healthchecks?.length} (${check.ignoreChecks?.length} checks ignored)`,
148148
}))}
149149
/>
150150
</>

0 commit comments

Comments
 (0)