fix: one-of dropdown not switching

This commit is contained in:
Roman Hotsiy 2018-03-05 12:52:47 +02:00
parent bcf39dc2cf
commit 0f1b6a622e
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -14,6 +14,8 @@ export interface OneOfButtonProps {
idx: number;
schema: SchemaModel;
}
@observer
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
render() {
const { idx, schema, subSchema } = this.props;