fix: correct parameter extraction in EditEventPage function

This commit is contained in:
micha 2025-06-20 01:05:36 +02:00
parent 911ec29234
commit b464e6b511

View file

@ -9,7 +9,7 @@ interface EditEventPageProps {
} }
export default async function EditEventPage({ params }: EditEventPageProps) { export default async function EditEventPage({ params }: EditEventPageProps) {
const { eventID } = await params; const { eventID } = params;
return ( return (
<div className='flex flex-col items-center justify-center h-screen'> <div className='flex flex-col items-center justify-center h-screen'>
<div className='absolute top-4 right-4'>{<ThemePicker />}</div> <div className='absolute top-4 right-4'>{<ThemePicker />}</div>