restore syntax highlighting

This commit is contained in:
Nate 2024-12-11 11:08:57 -08:00
parent 5da2c5015d
commit 122603104c

View file

@ -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} />;
};