mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-19 11:20:04 +08:00
Added basic Admin dashboard layout
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user