mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Fixed teams urls.
This commit is contained in:
parent
8a722ff013
commit
4b67d10f04
8 changed files with 17 additions and 25 deletions
|
|
@ -1,8 +1,11 @@
|
|||
'use client';
|
||||
import WebsitesHeader from 'app/(main)/settings/websites/WebsitesHeader';
|
||||
import WebsitesDataTable from 'app/(main)/settings/websites/WebsitesDataTable';
|
||||
import { useTeamUrl } from 'components/hooks';
|
||||
|
||||
export default function WebsitesPage() {
|
||||
const { teamId } = useTeamUrl();
|
||||
|
||||
export default function WebsitesPage({ teamId }: { teamId: string }) {
|
||||
return (
|
||||
<>
|
||||
<WebsitesHeader teamId={teamId} allowCreate={false} />
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import WebsitesPage from './WebsitesPage';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ({ params: { teamId, userId } }) {
|
||||
return <WebsitesPage teamId={teamId} userId={userId} />;
|
||||
export default function () {
|
||||
return <WebsitesPage />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue