"use client";

import { useParams } from "next/navigation";
import { QrGuestMenu } from "@/components/qr/qr-guest-menu";

export default function QrLandingPage() {
  const params = useParams();
  const code = typeof params.code === "string" ? params.code : "";

  return <QrGuestMenu code={code} />;
}
