This commit is contained in:
Anang Yusman 2025-09-16 22:35:13 +08:00
parent 2b84c4083e
commit 64a48c63f0
2 changed files with 2 additions and 6 deletions

View File

@ -1,10 +1,9 @@
import AudioDetail from "@/components/main/content/audio-detail";
import DetailVideo from "@/components/main/content/video-detail";
interface DetailInfoProps {
params: { id: string };
params: { id: any };
}
export default async function DetailInfo({ params }: DetailInfoProps) {
return <AudioDetail id={params.id} />;
return <AudioDetail id={params?.id} />;
}

View File

@ -16,9 +16,6 @@ import {
FaShareAlt,
} from "react-icons/fa";
import { getDetail } from "@/service/landing/landing";
import VideoPlayer from "@/utils/video-player";
import { toBase64, shimmer } from "@/utils/globals";
import { Skeleton } from "@/components/ui/skeleton";
export default function AudioDetail({ id }: { id: string }) {
const [copied, setCopied] = useState(false);