Login and Session Fixes

This commit is contained in:
Koncept Kit
2026-01-07 13:37:20 +07:00
parent 9f7367ceeb
commit c54eb23689
4 changed files with 275 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
import { Toaster } from './components/ui/sonner';
import IdleSessionWarning from './components/IdleSessionWarning';
import Landing from './pages/Landing';
import Register from './pages/Register';
import Login from './pages/Login';
@@ -294,6 +295,7 @@ function App() {
<Route path="*" element={<NotFound />} />
</Routes>
<Toaster position="top-right" />
<IdleSessionWarning />
</BrowserRouter>
</AuthProvider>
);