fix: nested layout
deskripsi: - fix use server pada nested layout - penambahan pemanggilan api pada realtime provider - fix tampilan table admin event pada username
This commit is contained in:
@@ -8,12 +8,12 @@ export default async function Layout({
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
const userId = await funGetUserIdByToken();
|
||||
// const userId = await funGetUserIdByToken();
|
||||
|
||||
return (
|
||||
<>
|
||||
<RealtimeProvider
|
||||
userId={userId}
|
||||
// userId={userId}
|
||||
WIBU_REALTIME_TOKEN={
|
||||
ServerEnv.value?.NEXT_PUBLIC_WIBU_REALTIME_TOKEN as string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user