mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
20 lines
525 B
TypeScript
20 lines
525 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { ReactNode } from "react";
|
||
|
// lib
|
||
|
import { AuthWrapper, InstanceWrapper } from "@/lib/wrappers";
|
||
|
// helpers
|
||
|
import { EAuthenticationPageType, EInstancePageType } from "@/helpers";
|
||
|
|
||
|
interface LoginLayoutProps {
|
||
|
children: ReactNode;
|
||
|
}
|
||
|
|
||
|
const LoginLayout = ({ children }: LoginLayoutProps) => (
|
||
|
<InstanceWrapper pageType={EInstancePageType.POST_SETUP}>
|
||
|
<AuthWrapper authType={EAuthenticationPageType.NOT_AUTHENTICATED}>{children}</AuthWrapper>
|
||
|
</InstanceWrapper>
|
||
|
);
|
||
|
|
||
|
export default LoginLayout;
|