From 040ce72a8ae0c1ca7504e10e44d0b2ac7ba04977 Mon Sep 17 00:00:00 2001 From: romanhotsiy Date: Fri, 11 Dec 2020 11:11:37 +0200 Subject: [PATCH] fix: fix SourceCodeWithCopy component to be non-pure --- src/components/SourceCode/SourceCode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SourceCode/SourceCode.tsx b/src/components/SourceCode/SourceCode.tsx index 3b7d4eb2..12a580db 100644 --- a/src/components/SourceCode/SourceCode.tsx +++ b/src/components/SourceCode/SourceCode.tsx @@ -16,7 +16,7 @@ export class SourceCode extends React.PureComponent { } } -export class SourceCodeWithCopy extends React.PureComponent { +export class SourceCodeWithCopy extends React.Component { render() { return (