refactor: remove obsolete member management API module
This commit is contained in:
@@ -36,8 +36,8 @@ export default async function EventDetailPage({ params }: PageProps) {
|
||||
const t = await getTranslations('cms.events');
|
||||
|
||||
const [event, registrations] = await Promise.all([
|
||||
api.getEvent(eventId),
|
||||
api.getRegistrations(eventId),
|
||||
api.events.getById(eventId),
|
||||
api.registrations.list(eventId),
|
||||
]);
|
||||
|
||||
if (!event) return <div>{t('notFound')}</div>;
|
||||
|
||||
Reference in New Issue
Block a user