diff --git a/src/features/timbre/parameters/VCO.js b/src/features/timbre/parameters/VCO.js index 396e138..08f984d 100644 --- a/src/features/timbre/parameters/VCO.js +++ b/src/features/timbre/parameters/VCO.js @@ -3,17 +3,15 @@ import { useSelector, useDispatch } from 'react-redux'; import { selectById, parameterUpdated } from './parameterSlice.js'; const SelectList = (props) => { - const options = props.list.map((option) => - option === props.value ? ( - - ) : ( - - ) - ); + const options = props.list.map((option, index) => ( + + )); return ( - props.onChange(e.target.value)}> {options} );