1
0
Fork 0

fix(shared): hide() signature should follow docs

This commit is contained in:
Joost De Cock 2022-06-22 16:34:13 +02:00
parent bd3e0900fb
commit 2d9dba906e

View file

@ -11,7 +11,7 @@ const Option = props => {
const type = optionType(opt)
const Input = inputs[type]
const Value = values[type]
const hide = opt.hide && opt.hide(props.draft.settings.options);
const hide = opt.hide && opt.hide(props.draft.settings);
if (hide) {
return <Li></Li>