From 14e62057daf471ef623c7da5438e5ff1c83f0a4a Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 8 Apr 2020 09:12:32 -0400 Subject: [PATCH] Fix linting error by not using index in key --- .../src/screens/Template/Survey/SurveyPreviewModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/screens/Template/Survey/SurveyPreviewModal.jsx b/awx/ui_next/src/screens/Template/Survey/SurveyPreviewModal.jsx index 453e2be90c..ed13f8fd8c 100644 --- a/awx/ui_next/src/screens/Template/Survey/SurveyPreviewModal.jsx +++ b/awx/ui_next/src/screens/Template/Survey/SurveyPreviewModal.jsx @@ -106,8 +106,8 @@ function SurveyPreviewModal({ {q.choices.length > 0 && q.choices .split('\n') - .map((option, index) => ( - + .map(option => ( + ))}