fix(shared): hide() signature should follow docs
This commit is contained in:
parent
bd3e0900fb
commit
2d9dba906e
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue