chore: fix component naming

This commit is contained in:
etwodev
2025-11-11 15:35:05 +00:00
parent 23d11673c9
commit 0259c027fb

View File

@@ -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();