From 84d36d29fe42c262e48bf42fa97661e9038752e4 Mon Sep 17 00:00:00 2001 From: swaroopar Date: Fri, 1 Dec 2023 14:55:28 +0000 Subject: [PATCH 1/2] fix unique key missing warning Signed-off-by: swaroopar --- src/components/content/order/create/OrderSubmit.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/content/order/create/OrderSubmit.tsx b/src/components/content/order/create/OrderSubmit.tsx index f7c09aac0..1ca06585b 100644 --- a/src/components/content/order/create/OrderSubmit.tsx +++ b/src/components/content/order/create/OrderSubmit.tsx @@ -156,9 +156,7 @@ function OrderSubmit(state: OrderSubmitProps): React.JSX.Element { {state.params.map((item) => item.kind === 'variable' || item.kind === 'env' ? ( - ) : ( - <> - ) + ) : undefined )}
From 2dd6382c1dcae216f0dd424a371ad7a8fde1d47c Mon Sep 17 00:00:00 2001 From: swaroopar Date: Tue, 5 Dec 2023 04:52:03 +0000 Subject: [PATCH 2/2] fix duplicate key warning --- src/components/content/order/migrate/DeploymentForm.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/content/order/migrate/DeploymentForm.tsx b/src/components/content/order/migrate/DeploymentForm.tsx index 41bae2465..c7e7e49c3 100644 --- a/src/components/content/order/migrate/DeploymentForm.tsx +++ b/src/components/content/order/migrate/DeploymentForm.tsx @@ -128,9 +128,7 @@ export const DeploymentForm = ({ {props.params.map((item) => item.kind === 'variable' || item.kind === 'env' ? ( - ) : ( - <> - ) + ) : undefined )}