Skip to content

Commit afb11d6

Browse files
committed
fix: fix @observer on PureComponent warning
1 parent a1a01d5 commit afb11d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Schema/OneOfSchema.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface OneOfButtonProps {
1616
}
1717

1818
@observer
19-
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
19+
export class OneOfButton extends React.Component<OneOfButtonProps> {
2020
render() {
2121
const { idx, schema, subSchema } = this.props;
2222
return (

0 commit comments

Comments
 (0)