diff --git a/app/(dashboard)/[tenant]/layout.tsx b/app/(dashboard)/[tenant]/layout.tsx index 5c2be1e..fc6b395 100644 --- a/app/(dashboard)/[tenant]/layout.tsx +++ b/app/(dashboard)/[tenant]/layout.tsx @@ -17,7 +17,7 @@ export default async function ConsoleLayout(props: { const { tenant } = await props.params; const { children } = props; - const { orgSlug } = await getOwner(); + const { orgSlug, userId } = await getOwner(); const user = await getUser(); if (tenant !== orgSlug) { @@ -32,6 +32,7 @@ export default async function ConsoleLayout(props: { return (