mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Hide links on share page.
This commit is contained in:
parent
80d3bf6ab3
commit
5eea66aa53
2 changed files with 5 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import { useMessages, useWebsite } from 'hooks';
|
|||
|
||||
export function WebsiteHeader({ websiteId, showLinks = true, children }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { asPath, pathname } = useRouter();
|
||||
const { pathname } = useRouter();
|
||||
const { data: website } = useWebsite(websiteId);
|
||||
const { name, domain } = website || {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue