From 0f1b6a622e6b0f444f036ddf55b0122f9b99cd2c Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 5 Mar 2018 12:52:47 +0200 Subject: [PATCH] fix: one-of dropdown not switching --- src/components/Schema/OneOfSchema.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Schema/OneOfSchema.tsx b/src/components/Schema/OneOfSchema.tsx index 6cb52bfbcf..34230dc29a 100644 --- a/src/components/Schema/OneOfSchema.tsx +++ b/src/components/Schema/OneOfSchema.tsx @@ -14,6 +14,8 @@ export interface OneOfButtonProps { idx: number; schema: SchemaModel; } + +@observer export class OneOfButton extends React.PureComponent { render() { const { idx, schema, subSchema } = this.props;