Skip to content

Commit

Permalink
Merge pull request continuedev#3323 from continuedev/nate/quick-edit-…
Browse files Browse the repository at this point in the history
…0454

restore syntax highlighting
  • Loading branch information
sestinj authored Dec 11, 2024
2 parents 9441fdd + 1226031 commit 5766562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/markdown/SyntaxHighlightedPre.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />;
};

0 comments on commit 5766562

Please sign in to comment.