mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 14:05:35 +01:00
Layout updates.
This commit is contained in:
parent
e4c5f42189
commit
476dd52875
23 changed files with 97 additions and 86 deletions
|
|
@ -3,7 +3,7 @@ import { Loading } from 'react-basics';
|
|||
import { usePathname } from 'next/navigation';
|
||||
import Page from 'components/layout/Page';
|
||||
import FilterTags from 'components/metrics/FilterTags';
|
||||
import usePageQuery from 'components/hooks/usePageQuery';
|
||||
import useNavigation from 'components/hooks/useNavigation';
|
||||
import { useWebsite } from 'components/hooks';
|
||||
import WebsiteChart from './WebsiteChart';
|
||||
import WebsiteMenuView from './WebsiteMenuView';
|
||||
|
|
@ -18,7 +18,7 @@ export default function WebsiteDetails({ websiteId }) {
|
|||
|
||||
const {
|
||||
query: { view, url, referrer, os, browser, device, country, region, city, title },
|
||||
} = usePageQuery();
|
||||
} = useNavigation();
|
||||
|
||||
if (isLoading || error) {
|
||||
return <Page isLoading={isLoading} error={error} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue