Fixed Minor Bugs and Typos

This commit is contained in:
2026-09-22 15:33:42 +02:00
parent 3f9574dce6
commit f480509019
6 changed files with 9 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ const NOTICE: Partial<Record<Status, string>> = {
archived: 'Archived - has page, but appears in no list',
}
const site = import.meta.env.Dev ? await getSite() : null
const site = import.meta.env.DEV ? await getSite() : null
const here = site ? [...forEntry(site.diagnostics, collection, id), ...diagnostics] : []
const elsewhere = site ? site.diagnostics.filter((d) => !here.includes(d)) : []
const notice = status ? NOTICE[status] : undefined