From 23bfa6ba82fb44d96a7a87f0ec77b885b1353b22 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Tue, 5 Nov 2024 11:07:24 -0500 Subject: [PATCH] Fix Key Value List Component Typing Bug --- .../components/ansible-playbook-edit-catalog-form/helper.js | 3 ++- .../components/terraform-template-catalog-form/helper.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/javascript/components/ansible-playbook-edit-catalog-form/helper.js b/app/javascript/components/ansible-playbook-edit-catalog-form/helper.js index e884bbe03ca..ff2b942633b 100644 --- a/app/javascript/components/ansible-playbook-edit-catalog-form/helper.js +++ b/app/javascript/components/ansible-playbook-edit-catalog-form/helper.js @@ -182,7 +182,8 @@ export const KeyValueListComponent = (props) => {
{input.value && input.value.map((pair, index) => ( -
+ // eslint-disable-next-line react/no-array-index-key +
{
{input.value && input.value.map((pair, index) => ( -
+ // eslint-disable-next-line react/no-array-index-key +