mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
add page titles
This commit is contained in:
parent
b39ef68372
commit
3039ad9315
12 changed files with 39 additions and 12 deletions
|
|
@ -1,8 +1,10 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import WebsiteDetails from 'components/pages/websites/WebsiteDetails';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function DetailsPage() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const router = useRouter();
|
||||
const { id } = router.query;
|
||||
|
||||
|
|
@ -11,7 +13,7 @@ export default function DetailsPage() {
|
|||
}
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<AppLayout title={formatMessage(labels.websites)}>
|
||||
<WebsiteDetails websiteId={id} />
|
||||
</AppLayout>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue