import type { RouteSearchParams } from "@/router/routes";

import { FeedbackScreen } from "./feedback-screen";

export default async function FeedbackPage({
  searchParams,
}: {
  searchParams: Promise<RouteSearchParams>;
}) {
  const query = await searchParams;
  return <FeedbackScreen returnTo={query.returnTo} />;
}
