mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 13:55:04 -02: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.length > 0 &&
|
||||||
q.choices
|
q.choices
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.map((option, index) => (
|
.map(option => (
|
||||||
<SelectOption key={index} value={option} />
|
<SelectOption key={option} value={option} />
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user