Fix: Event
Deksripsi - Fix notifikasi - Fix load beranda - Fix reload button di admin
This commit is contained in:
@@ -2,7 +2,7 @@ import { Event_DetailDraft } 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 eventId = params.id;
|
||||
const dataEvent = await event_getOneById(eventId);
|
||||
return (
|
||||
<Event_DetailDraft eventId={eventId as any} dataEvent={dataEvent as any} />
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { LayoutEvent_DetailMain } from "@/app_modules/event";
|
||||
import { AppShell } from "@mantine/core";
|
||||
import React from "react";
|
||||
|
||||
export default async function Layout({
|
||||
|
||||
Reference in New Issue
Block a user