diff --git a/frontend/src/Editor/Components/DropDown.jsx b/frontend/src/Editor/Components/DropDown.jsx index 0e28b9755f..18d0b7a1fd 100644 --- a/frontend/src/Editor/Components/DropDown.jsx +++ b/frontend/src/Editor/Components/DropDown.jsx @@ -63,7 +63,7 @@ export const DropDown = function DropDown({ const value = currentValueProperty ? currentValueProperty.value : ''; const [currentValue, setCurrentValue] = useState(''); - const [optionValues, setOptionValue] = useState(() => selectOptions); + const [optionValues, setOptionValue] = useState(() => selectOptions ?? ''); useEffect(() => { const nextOptionValues = JSON.stringify(parsedValues);