mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Fixed 'use client' usage.
This commit is contained in:
parent
be5592446a
commit
f7151a880e
208 changed files with 323 additions and 385 deletions
6
src/app/(main)/settings/users/[userId]/UserPage.tsx
Normal file
6
src/app/(main)/settings/users/[userId]/UserPage.tsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
'use client';
|
||||
import UserSettings from './UserSettings';
|
||||
|
||||
export default function ({ userId }: { userId: string }) {
|
||||
return <UserSettings userId={userId} />;
|
||||
}
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
'use client';
|
||||
import { Key, useState } from 'react';
|
||||
import { Item, Loading, Tabs } from 'react-basics';
|
||||
import Icons from 'components/icons';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
'use client';
|
||||
import WebsitesTable from 'app/(main)/settings/websites/WebsitesTable';
|
||||
import DataTable from 'components/common/DataTable';
|
||||
import { useWebsites } from 'components/hooks';
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue