import ChatButton from './ChatButton'; import { fetchCharacter } from './service'; import { Chip } from '@/components/ui/chip'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { IconButton } from '@/components/ui/button'; import Link from 'next/link'; export default async function Page({ params }: { params: Promise<{ id: string }> }) { const { id } = await params; const character = await fetchCharacter(id); return (