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:
alphaeusmote
2025-04-09 02:37:34 +00:00
parent b39ef9c5f6
commit efde82d7b6
4 changed files with 72 additions and 121 deletions
+1 -1
View File
@@ -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,
}: {