mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Fixed the issue where the dataset configuration page kept refreshing #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
17 lines
482 B
TypeScript
17 lines
482 B
TypeScript
import { FormContainer, FormContainerProps } from '@/components/form-container';
|
|
import { cn } from '@/lib/utils';
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
export function ConfigurationFormContainer({
|
|
children,
|
|
className,
|
|
}: FormContainerProps) {
|
|
return (
|
|
<FormContainer className={cn('p-10', className)}>{children}</FormContainer>
|
|
);
|
|
}
|
|
|
|
export function MainContainer({ children }: PropsWithChildren) {
|
|
return <section className="space-y-5">{children}</section>;
|
|
}
|