diff --git a/src/misc/SelectCustom.js b/src/misc/SelectCustom.js index 238a5bf..b114a73 100644 --- a/src/misc/SelectCustom.js +++ b/src/misc/SelectCustom.js @@ -41,7 +41,11 @@ export default function Component(props) { isCustom: v === props.customKey ? true : false, }); - props.onChange(event); + props.onChange({ + target: { + value: v === props.customKey ? value.custom : value.value, + }, + }); }; const handleCustomChange = (event) => { @@ -59,7 +63,7 @@ export default function Component(props) { options.push( {o.label} - + , ); } diff --git a/src/misc/modals/Hint.js b/src/misc/modals/Hint.js index 317c034..b486c86 100644 --- a/src/misc/modals/Hint.js +++ b/src/misc/modals/Hint.js @@ -143,7 +143,7 @@ const Streams = function (props) { {props.streams.map((stream, index) => ( - {stream.type} + {stream.type}