diff --git a/web/src/components/ui/typography/AppMarkdown/AppMarkdownCommon.tsx b/web/src/components/ui/typography/AppMarkdown/AppMarkdownCommon.tsx index 3806c8251..ecaa7fd03 100644 --- a/web/src/components/ui/typography/AppMarkdown/AppMarkdownCommon.tsx +++ b/web/src/components/ui/typography/AppMarkdown/AppMarkdownCommon.tsx @@ -39,8 +39,7 @@ export const CustomParagraph: React.FC< className={cn( 'text-size-inherit!', showLoader && 'animate-in fade-in transition-none duration-700' - )} - {...rest}> + )}> {children}
); @@ -57,8 +56,7 @@ export const CustomParagraph: React.FC< className={cn( 'text-size-inherit!', showLoader && 'animate-in fade-in transition-none duration-700' - )} - {...rest}> + )}> {children} ); @@ -94,8 +92,7 @@ export const CustomHeading: React.FC< className={cn( headingVariants({ level: stripFormatting ? 'base' : level }), showLoader && 'animate-in fade-in transition-none duration-700' - )} - {...rest}> + )}> {children} ); @@ -192,9 +189,7 @@ export const CustomTable: React.FC< } & ExtraPropsExtra > = ({ children, markdown, showLoader, ...rest }) => { return ( -