website refactor
This commit is contained in:
@@ -28,22 +28,10 @@ export default async function LeagueSchedulePage({ params }: Props) {
|
||||
currentDriverId: undefined,
|
||||
isAdmin: false,
|
||||
}}
|
||||
onRegister={async () => {}}
|
||||
onWithdraw={async () => {}}
|
||||
onEdit={() => {}}
|
||||
onReschedule={() => {}}
|
||||
onResultsClick={() => {}}
|
||||
/>;
|
||||
}
|
||||
|
||||
const viewData = result.unwrap();
|
||||
|
||||
return <LeagueScheduleTemplate
|
||||
viewData={viewData}
|
||||
onRegister={async () => {}}
|
||||
onWithdraw={async () => {}}
|
||||
onEdit={() => {}}
|
||||
onReschedule={() => {}}
|
||||
onResultsClick={() => {}}
|
||||
/>;
|
||||
return <LeagueScheduleTemplate viewData={viewData} />;
|
||||
}
|
||||
Reference in New Issue
Block a user