There was an error while loading. Please reload this page.
1 parent 53089b6 commit ef2dd1dCopy full SHA for ef2dd1d
1 file changed
src/components/code-line.component.js
@@ -74,8 +74,6 @@ const CodeLineNumber = styled.Text`
74
color: ${colors.grey};
75
`;
76
77
-const SyntaxHighlighterStyled = CodeLineStyled.withComponent(SyntaxHighlighter);
78
-
79
export class CodeLine extends Component {
80
props: {
81
newChunk: boolean,
@@ -122,7 +120,7 @@ export class CodeLine extends Component {
122
120
)}
123
121
124
{this.isKnownType(language) && (
125
- <SyntaxHighlighterStyled
+ <SyntaxHighlighter
126
language={language}
127
style={GithubStyle}
128
CodeTag={Text}
@@ -131,7 +129,7 @@ export class CodeLine extends Component {
131
129
fontSize={normalize(11)}
132
130
>
133
{change.content}
134
- </SyntaxHighlighterStyled>
+ </SyntaxHighlighter>
135
136
</CodeLineContainer>
137
</Wrapper>
0 commit comments