Merge pull request #3323 from continuedev/nate/quick-edit-0454

restore syntax highlighting
This commit is contained in:
Nate Sesti 2024-12-11 11:21:27 -08:00 • committed by GitHub
commit 576656203b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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