From 90f4eb12d59efad97c91e9c906c9937bb421b87b Mon Sep 17 00:00:00 2001 From: Brian Fletcher Date: Tue, 10 Jan 2023 08:05:48 +0000 Subject: [PATCH] use index for key in react fragment Signed-off-by: Brian Fletcher --- plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx index 34cf58441f..0c16d0bd03 100644 --- a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx +++ b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx @@ -78,9 +78,9 @@ const useStyles = makeStyles(theme => ({ const ExamplesTable = (props: { examples: ActionExample[] }) => { return ( - {props.examples.map(example => { + {props.examples.map((example, index) => { return ( - + {example.description}