Fixed Minor Bugs and Typos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user