fix: fix SourceCodeWithCopy component to be non-pure

This commit is contained in:
romanhotsiy 2020-12-11 11:11:37 +02:00
parent bc19750771
commit 040ce72a8a
No known key found for this signature in database
GPG Key ID: 0BC2221278CCBBB8

View File

@ -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}>