chore: file formatting

This commit is contained in:
Kailasdevdas
2026-05-26 15:48:01 +05:30
parent 8a21e0bf38
commit 78e2618a29
117 changed files with 12775 additions and 14638 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import {Navigate, Outlet} from "react-router-dom";
import {useAuth} from "@/context/AuthContext";
import { Navigate, Outlet } from 'react-router-dom';
import { useAuth } from '@/context/AuthContext';
export default function ProtectedRoute() {
const {token} = useAuth();
const { token } = useAuth();
return token ? <Outlet /> : <Navigate to="/" replace />;
}