"use client"; import { use } from "react"; import { ArrowLeft, FileText, Folder } from "lucide-react"; import Link from "next/link"; import { useSkill } from "@/lib/hooks"; export default function SkillDetailPage({ params }: { params: Promise<{ name: string }> }) { const { name } = use(params); const { data, isLoading } = useSkill(name); return (
{data.content}