feat: refresh token

This commit is contained in:
naiba committed 2024-11-05 00:02:43 +08:00
1 parent b1a0b607da
commit bfdae2838f
5 files changed
+35 -20

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ import { AuthProvider } from './hooks/useAuth';
const router = createBrowserRouter([
{
path: "/dashboard/",
path: "/dashboard",
element: <AuthProvider><ProtectedRoute><Root /></ProtectedRoute></AuthProvider>,
errorElement: <ErrorPage />,
children: [