From b6dfc7dcd9338ba4f9d81a3282d4aa45d70081c4 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Mon, 8 Mar 2021 14:12:32 +0100 Subject: [PATCH] use correct field from array Signed-off-by: Johan Haals --- plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx index 07d1bd2ec4..09c3e0f131 100644 --- a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx +++ b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx @@ -94,7 +94,7 @@ export const ActionsPage = () => { return Object.entries(properties).map(entry => { const [key] = entry; - const props = (entry[0] as unknown) as JSONSchema; + const props = (entry[1] as unknown) as JSONSchema; const isRequired = required.includes(key); const codeClassname = `${classes.code} ${