diff --git a/sanity/components/codeHighlighter.tsx b/sanity/components/codeHighlighter.tsx index 9488bbe..208bf38 100644 --- a/sanity/components/codeHighlighter.tsx +++ b/sanity/components/codeHighlighter.tsx @@ -5,12 +5,13 @@ const codeHighlighter = ({ value }: { value: { language?: string; code?: string if (value?.language && value?.code) { return (
- + {value.code}
); } + return <>; }; export default codeHighlighter;