Skip to content

Commit

Permalink
fix: fix @observer on PureComponent warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 14, 2018
1 parent a1a01d5 commit afb11d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Schema/OneOfSchema.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit afb11d6

Please sign in to comment.