Feat: Add FilesTable #3221 (#4491)

### What problem does this PR solve?

Feat: Add FilesTable #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-01-15 14:39:33 +08:00
committed by GitHub
parent be5f830878
commit b4614e9517
20 changed files with 824 additions and 51 deletions

View File

@ -15,6 +15,7 @@ import weekYear from 'dayjs/plugin/weekYear';
import weekday from 'dayjs/plugin/weekday';
import React, { ReactNode, useEffect, useState } from 'react';
import { ThemeProvider, useTheme } from './components/theme-provider';
import { TooltipProvider } from './components/ui/tooltip';
import storage from './utils/authorization-util';
dayjs.extend(customParseFormat);
@ -78,11 +79,13 @@ const RootProvider = ({ children }: React.PropsWithChildren) => {
}, []);
return (
<QueryClientProvider client={queryClient}>
<ThemeProvider defaultTheme="light" storageKey="ragflow-ui-theme">
<Root>{children}</Root>
</ThemeProvider>
</QueryClientProvider>
<TooltipProvider>
<QueryClientProvider client={queryClient}>
<ThemeProvider defaultTheme="light" storageKey="ragflow-ui-theme">
<Root>{children}</Root>
</ThemeProvider>
</QueryClientProvider>
</TooltipProvider>
);
};
export function rootContainer(container: ReactNode) {