Panels redesign.

This commit is contained in:
Mike Cao 2025-03-25 14:47:51 -07:00
parent 7886c3f393
commit f5bc3dc6c2
58 changed files with 530 additions and 733 deletions

View file

@ -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 (