We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bcf2dc commit edb5e51Copy full SHA for edb5e51
src/reactComponents/CodeDisplay.tsx
@@ -57,7 +57,7 @@ export default function CodeDisplay(props: CodeDisplayProps): React.JSX.Element
57
const syntaxHighligherFromTheme = (theme: string) => {
58
const isDarkTheme = theme.endsWith('-dark') || theme === 'dark';
59
60
- if(isDarkTheme){
+ if (isDarkTheme){
61
return dracula
62
}
63
return oneLight
@@ -118,4 +118,4 @@ export default function CodeDisplay(props: CodeDisplayProps): React.JSX.Element
118
{renderCodeBlock()}
119
</Antd.Flex>
120
);
121
-}
+}
0 commit comments