mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 19:15:37 +01:00
Panels redesign.
This commit is contained in:
parent
7886c3f393
commit
f5bc3dc6c2
58 changed files with 530 additions and 733 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { ReactNode } from 'react';
|
||||
import { Row, Heading } from '@umami/react-zen';
|
||||
import { Favicon } from '@/components/common/Favicon';
|
||||
import { useWebsiteQuery } from '@/components/hooks';
|
||||
import { ActiveUsers } from '@/components/metrics/ActiveUsers';
|
||||
import { WebsiteTabs } from '@/app/(main)/websites/[websiteId]/WebsiteTabs';
|
||||
import { useWebsite } from '@/components/hooks/useWebsite';
|
||||
|
||||
export function WebsiteHeader({
|
||||
websiteId,
|
||||
|
|
@ -12,7 +12,7 @@ export function WebsiteHeader({
|
|||
websiteId: string;
|
||||
children?: ReactNode;
|
||||
}) {
|
||||
const { data: website } = useWebsiteQuery(websiteId);
|
||||
const website = useWebsite();
|
||||
const { name, domain } = website || {};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue