Added basic Admin dashboard layout

This commit is contained in:
klotske
2023-01-07 15:08:38 +03:00
parent 99dcfd06ed
commit f57041cdda
2 changed files with 21 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import Head from "next/head";
import { useRouter } from "next/router";
import { useSession } from "next-auth/react";
import { useEffect } from "react";
import { getTransparentHeaderLayout } from "src/components/Layout";
import { getAdminLayout } from "src/components/Layout";
import UsersCell from "src/components/UsersCell";
/**
@@ -44,6 +44,6 @@ const AdminIndex = () => {
);
};
AdminIndex.getLayout = getTransparentHeaderLayout;
AdminIndex.getLayout = getAdminLayout;
export default AdminIndex;