docx, xlsx, pdf viewers, dropzone for uploading, cleanup

This commit is contained in:
cracklesparkle
2024-07-05 17:11:29 +09:00
parent 261196afef
commit 3727fcabb3
7 changed files with 412 additions and 1334 deletions

View File

@ -6,9 +6,6 @@ import { registerSW } from 'virtual:pwa-register'
import { ThemeProvider } from '@emotion/react'
import { createTheme } from '@mui/material'
import { ruRU } from '@mui/material/locale'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
const queryClient = new QueryClient();
const theme = createTheme(
{
@ -33,9 +30,7 @@ const updateSW = registerSW({
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<ThemeProvider theme={theme}>
<QueryClientProvider client={queryClient}>
<App />
</QueryClientProvider>
<App />
</ThemeProvider>
</React.StrictMode>,
)