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

import { CoinsRulesScreen } from "./coins-rules-screen";

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