Skip to content

Commit

Permalink
fix: fix SourceCodeWithCopy component to be non-pure
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Dec 11, 2020
1 parent bc19750 commit 040ce72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SourceCode/SourceCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}>
Expand Down

0 comments on commit 040ce72

Please sign in to comment.