mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
16 lines
445 B
TypeScript
16 lines
445 B
TypeScript
import { FC } from "react";
|
|
import { observer } from "mobx-react";
|
|
// layouts
|
|
import { WorkspaceAuthWrapper as CoreWorkspaceAuthWrapper } from "@/layouts/auth-layout";
|
|
|
|
export type IWorkspaceAuthWrapper = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export const WorkspaceAuthWrapper: FC<IWorkspaceAuthWrapper> = observer((props) => {
|
|
// props
|
|
const { children } = props;
|
|
|
|
return <CoreWorkspaceAuthWrapper>{children}</CoreWorkspaceAuthWrapper>;
|
|
});
|