upd: scroll
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ScrollProvider, WrapLayout } from "@/module/_global"
|
||||
import { WrapLayout } from "@/module/_global"
|
||||
import { funDetectCookies, funGetUserByCookies } from "@/module/auth"
|
||||
import _ from "lodash"
|
||||
import { redirect } from "next/navigation"
|
||||
@@ -11,9 +11,7 @@ export default async function Layout({ children }: { children: React.ReactNode }
|
||||
return (
|
||||
<>
|
||||
<WrapLayout role={user.idUserRole} theme={user.theme} user={user.id}>
|
||||
<ScrollProvider>
|
||||
{children}
|
||||
</ScrollProvider>
|
||||
{children}
|
||||
</WrapLayout>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user