"use client";

// ============================================================================
// External Channel Detail Page
// ============================================================================

import React, { useEffect } from "react";
import { useRouter } from "next/navigation";
import { use } from "react";

interface PageProps {
  params: Promise<{ id: string }>;
}

export default function ExternalChannelDetailPage({ params }: PageProps) {
  const router = useRouter();
  const resolvedParams = use(params);

  useEffect(() => {
    // Redirect back to external channels list
    // Detail page functionality not yet implemented in backend API
    router.push("/external-channels");
  }, [router, resolvedParams.id]);

  return null;
}
