website refactor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { notFound } from 'next/navigation';
|
||||
import { PageWrapper } from '@/components/shared/state/PageWrapper';
|
||||
import { RaceResultsPageQuery } from '@/lib/page-queries/races/RaceResultsPageQuery';
|
||||
import RaceResultsPageClient from './RaceResultsPageClient';
|
||||
import { RaceResultsPageClient } from './RaceResultsPageClient';
|
||||
|
||||
interface RaceResultsPageProps {
|
||||
params: Promise<{
|
||||
@@ -29,8 +29,8 @@ export default async function RaceResultsPage({ params }: RaceResultsPageProps)
|
||||
return (
|
||||
<PageWrapper
|
||||
data={undefined}
|
||||
Template={RaceResultsPageClient as any}
|
||||
error={new Error('Failed to load race results')}
|
||||
Template={RaceResultsPageClient}
|
||||
error={new globalThis.Error('Failed to load race results')}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user