From df3ca4cce3f2b942b213401f87d112743d47c7dd Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 3 Feb 2023 03:56:31 +0100 Subject: [PATCH] Fix copyrightpanel --- UI/BigComponents/CopyrightPanel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/BigComponents/CopyrightPanel.ts b/UI/BigComponents/CopyrightPanel.ts index 2cdadec7e..73b615783 100644 --- a/UI/BigComponents/CopyrightPanel.ts +++ b/UI/BigComponents/CopyrightPanel.ts @@ -123,7 +123,9 @@ export default class CopyrightPanel extends Combine { const t = Translations.t.general.attribution const layoutToUse = state.layoutToUse - const iconAttributions = layoutToUse.usedImages.map(CopyrightPanel.IconAttribution) + const iconAttributions: BaseUIElement[] = layoutToUse.usedImages.map( + CopyrightPanel.IconAttribution + ) let maintainer: BaseUIElement = undefined if (layoutToUse.credits !== undefined && layoutToUse.credits !== "") {