"use client";
import { useEffect } from "react";
import { useQuery } from "@tanstack/react-query";
import { notFound } from "next/navigation";
import { Separator } from "@/components/ui/separator";
import { getUserByUserId, UserProfileDetails } from "@/lib/profile";
import { UserProfileHeader } from "@/components/roblox/UserProfileHeader";
import { Skeleton } from "@/components/ui/skeleton";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { ShieldBanIcon } from "lucide-react";
import Link from "next/link";
import { useFriendsHome } from "@/hooks/roblox/useFriends";
import { FriendCarousel } from "@/components/roblox/FriendCarousel";
interface UserProfileContentProps {
userId: string;
}
function ProfileMoreDetails({ profile }: { profile: UserProfileDetails }) {
const theirFriends = useFriendsHome(profile.id.toString());
return (
<>
{!theirFriends &&
{profile.description || "No description provided yet."}