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