v0.10.3 ui changes and bug fixes

This commit is contained in:
2026-03-20 12:56:28 -04:00
parent f2e32dae92
commit a072a13706
9 changed files with 550 additions and 15 deletions

View File

@@ -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>