# Event Join
## feat - Join event - kontribusi event - histoty in progress ### No Issue
This commit is contained in:
11
src/app/dev/event/detail/reject/[id]/layout.tsx
Normal file
11
src/app/dev/event/detail/reject/[id]/layout.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
import { LayoutEvent_DetailReject } from "@/app_modules/event";
|
||||
import React from "react";
|
||||
|
||||
export default async function Page({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return <LayoutEvent_DetailReject>{children}</LayoutEvent_DetailReject>;
|
||||
}
|
||||
9
src/app/dev/event/detail/reject/[id]/page.tsx
Normal file
9
src/app/dev/event/detail/reject/[id]/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Event_DetailReject } from "@/app_modules/event";
|
||||
import { Event_getOneById } from "@/app_modules/event/fun/get/get_one_by_id";
|
||||
|
||||
export default async function Page({params}: {params: {id: string}}) {
|
||||
let eventId = params.id
|
||||
const dataEvent = await Event_getOneById(eventId)
|
||||
|
||||
return <Event_DetailReject dataEvent={dataEvent as any}/>;
|
||||
}
|
||||
Reference in New Issue
Block a user