mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
Fix linting error by not using index in key
This commit is contained in:
@@ -106,8 +106,8 @@ function SurveyPreviewModal({
|
||||
{q.choices.length > 0 &&
|
||||
q.choices
|
||||
.split('\n')
|
||||
.map((option, index) => (
|
||||
<SelectOption key={index} value={option} />
|
||||
.map(option => (
|
||||
<SelectOption key={option} value={option} />
|
||||
))}
|
||||
</Select>
|
||||
</FormGroup>
|
||||
|
||||
Reference in New Issue
Block a user