diff --git a/src/backend/frontpage.ts b/src/backend/frontpage.ts index e50ab0f..beb106d 100644 --- a/src/backend/frontpage.ts +++ b/src/backend/frontpage.ts @@ -9,7 +9,9 @@ export async function getFrontpage(): Promise { question: true, }, }) - ).map((f) => f.question); + ) + .map((f) => f.question) + .filter((q) => q); return questions; }