import PartsBrowseClient from "@/components/parts/PartsBrowseClient";

export default async function PartsBrowsePage({
  params,
}: {
  params: Promise<{ partRole: string }>;
}) {
  const { partRole } = await params;

  return (
    <PartsBrowseClient
      partRole={decodeURIComponent(partRole)}
      platform={null} // let client read ?platform=... or default
    />
  );
}
