mirror of
https://github.com/harivansh-afk/RAG-ui.git
synced 2026-04-17 20:05:08 +00:00
UI updates
This commit is contained in:
parent
171fe6e04f
commit
7dda2e20d0
7 changed files with 195 additions and 122 deletions
17
src/App.tsx
17
src/App.tsx
|
|
@ -2,17 +2,20 @@ import React from 'react';
|
|||
import { BrowserRouter } from 'react-router-dom';
|
||||
import { AppRouter } from './routes';
|
||||
import { AuthProvider } from './contexts/AuthContext';
|
||||
import { ThemeProvider } from './contexts/ThemeContext';
|
||||
import './index.css';
|
||||
|
||||
const App: React.FC = () => {
|
||||
return (
|
||||
<AuthProvider>
|
||||
<BrowserRouter>
|
||||
<div className="min-h-screen bg-background text-foreground">
|
||||
<AppRouter />
|
||||
</div>
|
||||
</BrowserRouter>
|
||||
</AuthProvider>
|
||||
<ThemeProvider>
|
||||
<AuthProvider>
|
||||
<BrowserRouter>
|
||||
<div className="min-h-screen bg-background text-foreground">
|
||||
<AppRouter />
|
||||
</div>
|
||||
</BrowserRouter>
|
||||
</AuthProvider>
|
||||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue