feat : add theme switcher
This commit is contained in:
@@ -12,7 +12,7 @@ export function RichTextContent({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn("prose prose-sm prose-invert max-w-none leading-snug [&>p]:m-0", className)}
|
||||
className={cn("prose prose-sm dark:prose-invert max-w-none leading-snug [&>p]:m-0", className)}
|
||||
dangerouslySetInnerHTML={{ __html: sanitizeRichTextHtml(html) }}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user