This commit is contained in:
Nate Kelley 2025-04-18 15:49:47 -06:00
parent e423f1305a
commit e9ea75398e
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 7 additions and 12 deletions

View File

@ -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}
</p>
);
@ -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}
</p>
);
@ -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}
</HeadingTag>
);
@ -192,9 +189,7 @@ export const CustomTable: React.FC<
} & ExtraPropsExtra
> = ({ children, markdown, showLoader, ...rest }) => {
return (
<table
className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}
{...rest}>
<table className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}>
{children}
</table>
);
@ -208,9 +203,7 @@ export const CustomSpan: React.FC<
} & ExtraPropsExtra
> = ({ children, markdown, showLoader, ...rest }) => {
return (
<span
className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}
{...rest}>
<span className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}>
{children}
</span>
);

View File

@ -44,6 +44,8 @@ export const useSelectedFile = ({
if (link) onChangePage(link);
}
console.log('handleFileCollapse', handleFileCollapse);
if (handleFileCollapse) {
animateOpenSplitter('left');
return;