mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Fix linting error by not using index in key
This commit is contained in:
parent
c881762c97
commit
14e62057da
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user