mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +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
|
||||
export class OneOfButton extends React.PureComponent<OneOfButtonProps> {
|
||||
export class OneOfButton extends React.Component<OneOfButtonProps> {
|
||||
render() {
|
||||
const { idx, schema, subSchema } = this.props;
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user