From ef2dd1d89caab3c14138cfd87e1b3e8a8cf87a91 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 5 Nov 2017 12:11:10 +0100 Subject: [PATCH] fix(crash): Fix crash in PullDiff screen, SH is not stylable (#618) --- src/components/code-line.component.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/code-line.component.js b/src/components/code-line.component.js index 947920f1..80a14104 100644 --- a/src/components/code-line.component.js +++ b/src/components/code-line.component.js @@ -74,8 +74,6 @@ const CodeLineNumber = styled.Text` color: ${colors.grey}; `; -const SyntaxHighlighterStyled = CodeLineStyled.withComponent(SyntaxHighlighter); - export class CodeLine extends Component { props: { newChunk: boolean, @@ -122,7 +120,7 @@ export class CodeLine extends Component { )} {this.isKnownType(language) && ( - {change.content} - + )}