Skip to content

Commit edb5e51

Browse files
authored
if( -> if (
1 parent 3bcf2dc commit edb5e51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactComponents/CodeDisplay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function CodeDisplay(props: CodeDisplayProps): React.JSX.Element
5757
const syntaxHighligherFromTheme = (theme: string) => {
5858
const isDarkTheme = theme.endsWith('-dark') || theme === 'dark';
5959

60-
if(isDarkTheme){
60+
if (isDarkTheme){
6161
return dracula
6262
}
6363
return oneLight
@@ -118,4 +118,4 @@ export default function CodeDisplay(props: CodeDisplayProps): React.JSX.Element
118118
{renderCodeBlock()}
119119
</Antd.Flex>
120120
);
121-
}
121+
}

0 commit comments

Comments
 (0)