From afb11d6a4fae69d791aec4516fa29750047e5e9f Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 14 May 2018 09:50:35 +0300 Subject: [PATCH] fix: fix @observer on PureComponent warning --- src/components/Schema/OneOfSchema.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Schema/OneOfSchema.tsx b/src/components/Schema/OneOfSchema.tsx index e25f888eb7..d0a46dcf7e 100644 --- a/src/components/Schema/OneOfSchema.tsx +++ b/src/components/Schema/OneOfSchema.tsx @@ -16,7 +16,7 @@ export interface OneOfButtonProps { } @observer -export class OneOfButton extends React.PureComponent { +export class OneOfButton extends React.Component { render() { const { idx, schema, subSchema } = this.props; return (