import FeedbackPageClient from "./FeedbackPageClient";
import { getBackgroundImage } from "@/lib/preferences";

export const dynamic = "force-dynamic";

interface FeedbackPageProps {
  params: {
    eventId: string;
  };
}

export default async function FeedbackPage({
  params: _params,
}: FeedbackPageProps) {
  const backgroundImage = await getBackgroundImage("home", "/got-2.jpg");

  return <FeedbackPageClient backgroundImage={backgroundImage} />;
}
