diff --git a/src/models/page.model.ts b/src/models/page.model.ts index d6e17ad793..a99f163733 100644 --- a/src/models/page.model.ts +++ b/src/models/page.model.ts @@ -678,7 +678,7 @@ export async function getPage(input: { return prev.updatedAt > current.updatedAt ? prev : current }) - let expandedNote: ExpandedNote | undefined + let expandedNote: ExpandedNote | null = null if (page) { expandedNote = await expandCrossbellNote({ note: page,