mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
22 lines
428 B
TypeScript
22 lines
428 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { ReactNode } from "react";
|
||
|
// layouts
|
||
|
import { AdminLayout } from "@/layouts";
|
||
|
// lib
|
||
|
import { AuthWrapper, InstanceWrapper } from "@/lib/wrappers";
|
||
|
|
||
|
interface AILayoutProps {
|
||
|
children: ReactNode;
|
||
|
}
|
||
|
|
||
|
const AILayout = ({ children }: AILayoutProps) => (
|
||
|
<InstanceWrapper>
|
||
|
<AuthWrapper>
|
||
|
<AdminLayout>{children}</AdminLayout>
|
||
|
</AuthWrapper>
|
||
|
</InstanceWrapper>
|
||
|
);
|
||
|
|
||
|
export default AILayout;
|