New admin section.
This commit is contained in:
12
src/app/(main)/admin/users/[userId]/page.tsx
Normal file
12
src/app/(main)/admin/users/[userId]/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { UserPage } from './UserPage';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default async function ({ params }: { params: Promise<{ userId: string }> }) {
|
||||
const { userId } = await params;
|
||||
|
||||
return <UserPage userId={userId} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'User Settings',
|
||||
};
|
||||
Reference in New Issue
Block a user