From 0259c027fb04082736a2911d50de0f80a3f2224c Mon Sep 17 00:00:00 2001 From: etwodev Date: Tue, 11 Nov 2025 15:35:05 +0000 Subject: [PATCH] chore: fix component naming --- src/components/shared/ProtectedRoute/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/shared/ProtectedRoute/index.tsx b/src/components/shared/ProtectedRoute/index.tsx index 7290cef..8a52651 100644 --- a/src/components/shared/ProtectedRoute/index.tsx +++ b/src/components/shared/ProtectedRoute/index.tsx @@ -35,7 +35,7 @@ interface ProtectedRouteProps { * * @returns JSX.Element */ -export const PublicRoute = ({ +export const ProtectedRoute = ({ roles = [], }: ProtectedRouteProps): React.JSX.Element => { const { data, isLoading, error, fetchCurrentUser } = useFetchCurrentUser();