fix: options

This commit is contained in:
cha0s 2021-01-29 15:57:20 -06:00
parent 6dfb5c9752
commit cbca0e3c66

View File

@ -58,6 +58,7 @@ const Invocation = ({
/>
<Literal
onChange={onChange}
options={description.args[i].options}
path={join(path, 'args', i.toString(), 'value')}
type={description.args[i].type}
value={arg}
@ -90,6 +91,7 @@ Invocation.propTypes = {
description: PropTypes.shape({
args: PropTypes.arrayOf(
PropTypes.shape({
options: PropTypes.shape({}),
type: PropTypes.string,
}),
),