From f9ed35813f8a93cd5252fde41226edb75355e9f1 Mon Sep 17 00:00:00 2001 From: amel Date: Wed, 9 Oct 2024 17:34:04 +0800 Subject: [PATCH] upd: Deskripsi: - button load pada layout No Issues --- src/module/_global/components/wrap_layout.tsx | 10 ++++++++++ src/module/home/ui/view_home.tsx | 8 -------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/module/_global/components/wrap_layout.tsx b/src/module/_global/components/wrap_layout.tsx index d0cfdb7..efead1c 100644 --- a/src/module/_global/components/wrap_layout.tsx +++ b/src/module/_global/components/wrap_layout.tsx @@ -7,6 +7,7 @@ import { useWibuRealtime } from "wibu-realtime"; import NotificationCustome from "./notification_custome"; import { useRouter } from "next/navigation"; import { globalParamJumlahNotif } from "@/module/home"; +import ReloadButtonTop from "./reload_button_top"; export default function WrapLayout({ children, role, theme, user }: { children: React.ReactNode, role: any, theme: any, user: any }) { const router = useRouter() @@ -52,6 +53,15 @@ export default function WrapLayout({ children, role, theme, user }: { children: onClose={() => { '' }} /> } + + {/* { + '' + } + } + title='UPDATE' + /> */} {children} ); diff --git a/src/module/home/ui/view_home.tsx b/src/module/home/ui/view_home.tsx index a91b619..3879290 100644 --- a/src/module/home/ui/view_home.tsx +++ b/src/module/home/ui/view_home.tsx @@ -18,14 +18,6 @@ export default function ViewHome() { return ( <> - {/* { - '' - } - } - title='UPDATE' - /> */}