plane/web/pages/admin/index.tsx
2023-11-15 16:54:56 +05:30

17 lines
455 B
TypeScript

import { ReactElement } from "react";
// layouts
import { InstanceAdminLayout } from "layouts/admin-layout";
// types
import { NextPageWithLayout } from "types/app";
const InstanceAdminPage: NextPageWithLayout = () => {
console.log("admin page");
return <div>Admin Page</div>;
};
InstanceAdminPage.getLayout = function getLayout(page: ReactElement) {
return <InstanceAdminLayout>{page}</InstanceAdminLayout>;
};
export default InstanceAdminPage;