fix: fix @observer on PureComponent warning

This commit is contained in:
Roman Hotsiy 2018-05-14 09:50:35 +03:00
parent a1a01d5a41
commit afb11d6a4f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -16,7 +16,7 @@ export interface OneOfButtonProps {
}
@observer
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
export class OneOfButton extends React.Component<OneOfButtonProps> {
render() {
const { idx, schema, subSchema } = this.props;
return (