fix ui collaboration layout
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { LayoutColab_Main } from "@/app_modules/colab";
|
||||
import colab_CekNotifikasi from "@/app_modules/colab/fun/get/cek_notifikasi";
|
||||
import React from "react";
|
||||
|
||||
export default async function Layout({
|
||||
@@ -7,11 +6,10 @@ export default async function Layout({
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
const cekNotif = await colab_CekNotifikasi();
|
||||
|
||||
return (
|
||||
<>
|
||||
<LayoutColab_Main cekNotif={cekNotif as any}>{children}</LayoutColab_Main>
|
||||
<LayoutColab_Main >{children}</LayoutColab_Main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user