mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
fix: fix @observer on PureComponent warning
This commit is contained in:
parent
a1a01d5a41
commit
afb11d6a4f
|
@ -16,7 +16,7 @@ export interface OneOfButtonProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
|
export class OneOfButton extends React.Component<OneOfButtonProps> {
|
||||||
render() {
|
render() {
|
||||||
const { idx, schema, subSchema } = this.props;
|
const { idx, schema, subSchema } = this.props;
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user