Fixed 'use client' usage.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import UserSettings from './UserSettings';
|
||||
import UserPage from './UserPage';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ({ params: { userId } }) {
|
||||
return <UserSettings userId={userId} />;
|
||||
return <UserPage userId={userId} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'User Settings - Umami',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user