sourcebot/packages/web/src/app/[domain]/page.tsx

11 lines
285 B
TypeScript
Raw Normal View History

import SearchPage from "./search/page";
interface Props {
params: Promise<{ domain: string }>;
searchParams: Promise<{ query?: string }>;
}
export default async function Home(props: Props) {
// Default to rendering the search page.
return <SearchPage {...props} />;
}