Merge pull request #3323 from continuedev/nate/quick-edit-0454
restore syntax highlighting
This commit is contained in:
commit
576656203b
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