mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-10 18:58:35 +00:00
Refactor: Improve application structure and routing by reorganizing client-side code
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/90f95cc6-6d9a-47fe-b1c1-0b0806153542.jpg
This commit is contained in:
@@ -2,7 +2,7 @@ import { Redirect, Route } from "wouter";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import { Loader2 } from "lucide-react";
|
||||
|
||||
export function ProtectedRoute({
|
||||
export default function ProtectedRoute({
|
||||
path,
|
||||
component: Component,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user