diff --git a/UI/Wikipedia/WikidataPreviewBox.ts b/UI/Wikipedia/WikidataPreviewBox.ts index 2af1f230d..bd6770164 100644 --- a/UI/Wikipedia/WikidataPreviewBox.ts +++ b/UI/Wikipedia/WikidataPreviewBox.ts @@ -108,7 +108,7 @@ export default class WikidataPreviewBox extends VariableUiElement { link]).SetClass("flex justify-between"), Translation.fromMap(wikidata.descriptions), WikidataPreviewBox.QuickFacts(wikidata, options), - ...(options.extraItems ?? []) + ...(options?.extraItems ?? []) ]).SetClass("flex flex-col link-underline")