mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +03:00
fix: fix SourceCodeWithCopy component to be non-pure
This commit is contained in:
parent
bc19750771
commit
040ce72a8a
|
@ -16,7 +16,7 @@ export class SourceCode extends React.PureComponent<SourceCodeProps> {
|
|||
}
|
||||
}
|
||||
|
||||
export class SourceCodeWithCopy extends React.PureComponent<SourceCodeProps> {
|
||||
export class SourceCodeWithCopy extends React.Component<SourceCodeProps> {
|
||||
render() {
|
||||
return (
|
||||
<CopyButtonWrapper data={this.props.source}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user