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
@@ -1,8 +1,8 @@
import {Navigate} from "react-router-dom";
import {useAuth} from "@/context/AuthContext";
import { Navigate } from 'react-router-dom';
import { useAuth } from '@/context/AuthContext';
export default function ProtectedRoute({children}: any) {
const {token} = useAuth();
export default function ProtectedRoute({ children }: any) {
const { token } = useAuth();
if (!token) {
return <Navigate to="/" />;