restore syntax highlighting
This commit is contained in:
parent
5da2c5015d
commit
122603104c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,5 +29,5 @@ const StyledPre = styled.pre<{ theme: any }>`
|
|||
|
||||
export const SyntaxHighlightedPre = (props: any) => {
|
||||
const currentTheme = useContext(VscThemeContext);
|
||||
return <StyledPre {...props} theme={currentTheme} />;
|
||||
return <StyledPre {...props} theme={currentTheme.theme} />;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue