fix: theme

Deskripsi:
- realtime saat ada perubahan theme

No Issues
This commit is contained in:
amel
2024-11-07 15:54:39 +08:00
parent 5aec05bf06
commit 7f394311d7
5 changed files with 32 additions and 21 deletions

View File

@@ -10,7 +10,7 @@ export default async function Layout({ children }: { children: React.ReactNode }
const user = await funGetUserByCookies()
return (
<>
<WrapLayout role={user.idUserRole} theme={user.theme} user={user.id}>
<WrapLayout role={user.idUserRole} theme={user.theme} user={user.id} village={user.idVillage}>
{children}
</WrapLayout>
</>