"use client"; import Container from "@/components/shared/container"; import { Skeleton } from "@/components/ui/skeleton/skeleton"; import ProfileAside from "@/components/widget/profile/profile-aside/profile-aside"; import { useAuth } from "@/features/auth/hooks/use-auth"; import { Main } from "@/templates/Main"; export default function HotelListPage({ children, }: { children: React.ReactNode; }) { const { isAuthenticated } = useAuth(); const buttons = [ { label: "Kişisel Bilgilerim", url: "personal-information" }, ]; return (
{!isAuthenticated && } {isAuthenticated && ( <>

Profilim

{children}
)}
); }