v0.10.3 ui changes and bug fixes
This commit is contained in:
@@ -5,7 +5,6 @@ import { ToastProvider } from './contexts/ToastContext.jsx';
|
||||
import Login from './pages/Login.jsx';
|
||||
import Chat from './pages/Chat.jsx';
|
||||
import ChangePassword from './pages/ChangePassword.jsx';
|
||||
import HostAdmin from './pages/HostAdmin.jsx';
|
||||
|
||||
function ProtectedRoute({ children }) {
|
||||
const { user, loading, mustChangePassword } = useAuth();
|
||||
@@ -38,10 +37,7 @@ export default function App() {
|
||||
<BrowserRouter>
|
||||
<ToastProvider>
|
||||
<Routes>
|
||||
{/* /host renders outside AuthProvider — has its own key-based auth */}
|
||||
<Route path="/host" element={<HostAdmin />} />
|
||||
<Route path="/host/*" element={<HostAdmin />} />
|
||||
{/* All other routes go through jama auth */}
|
||||
{/* All routes go through jama auth */}
|
||||
<Route path="/*" element={
|
||||
<AuthProvider>
|
||||
<SocketProvider>
|
||||
|
||||
Reference in New Issue
Block a user