We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d9fc6 commit ff4a505Copy full SHA for ff4a505
1 file changed
src/behaviors/ParameterValuePicker.tsx
@@ -24,8 +24,10 @@ export const ParameterValuePicker = ({
24
className="h-8 rounded"
25
onChange={(e) => onValueChanged(parseInt(e.target.value))}
26
>
27
- {values.map((v) => (
28
- <option value={v.constant}>{v.name}</option>
+ {values.map((v, i) => (
+ <option key={i} value={v.constant}>
29
+ {v.name}
30
+ </option>
31
))}
32
</select>
33
</div>
@@ -66,7 +68,9 @@ export const ParameterValuePicker = ({
66
68
67
69
70
{layers.map(({ name, id }) => (
- <option value={id}>{name}</option>
71
+ <option key={id} value={id}>
72
+ {name}
73
74
75
76
0 commit comments