mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
22 lines
544 B
TypeScript
22 lines
544 B
TypeScript
import { DesktopSidebar } from "./DesktopSidebar";
|
|
import { MobileSidebar } from "./MobileSidebar";
|
|
import { getTenantId } from "@/lib/auth";
|
|
import { Fragment } from "react";
|
|
|
|
interface LayoutProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default async function Layout({ children }: LayoutProps) {
|
|
const tenantId = getTenantId();
|
|
|
|
return (
|
|
<Fragment>
|
|
<DesktopSidebar channels={[]} navigation={[]} />
|
|
|
|
<MobileSidebar channels={[]} navigation={[]} />
|
|
|
|
<div className=" lg:pl-72">{children}</div>
|
|
</Fragment>
|
|
);
|
|
}
|