diff --git a/src/app/(main)/websites/[id]/WebsiteDetails.tsx b/src/app/(main)/websites/[id]/WebsiteDetails.tsx
index 7d8d2d99..b234ea0a 100644
--- a/src/app/(main)/websites/[id]/WebsiteDetails.tsx
+++ b/src/app/(main)/websites/[id]/WebsiteDetails.tsx
@@ -33,8 +33,8 @@ export default function WebsiteDetails({ websiteId }: { websiteId: string }) {
{!website && }
{website && (
<>
- {!view && }
- {view && }
+ {!view && }
+ {view && }
>
)}
>
diff --git a/src/app/(main)/websites/[id]/WebsiteExpandedView.tsx b/src/app/(main)/websites/[id]/WebsiteExpandedView.tsx
index 9fb1b3f6..f01d9363 100644
--- a/src/app/(main)/websites/[id]/WebsiteExpandedView.tsx
+++ b/src/app/(main)/websites/[id]/WebsiteExpandedView.tsx
@@ -35,10 +35,10 @@ const views = {
export default function WebsiteExpandedView({
websiteId,
- websiteDomain,
+ domainName,
}: {
websiteId: string;
- websiteDomain?: string;
+ domainName?: string;
}) {
const { formatMessage, labels } = useMessages();
const {
@@ -143,7 +143,7 @@ export default function WebsiteExpandedView({
any;
diff --git a/src/components/metrics/PagesTable.tsx b/src/components/metrics/PagesTable.tsx
index 11379a2e..042af9c0 100644
--- a/src/components/metrics/PagesTable.tsx
+++ b/src/components/metrics/PagesTable.tsx
@@ -9,7 +9,7 @@ export interface PagesTableProps extends MetricsTableProps {
allowFilter?: boolean;
}
-export function PagesTable({ allowFilter, ...props }: PagesTableProps) {
+export function PagesTable({ allowFilter, domainName, ...props }: PagesTableProps) {
const {
router,
makeUrl,
@@ -17,7 +17,7 @@ export function PagesTable({ allowFilter, ...props }: PagesTableProps) {
} = useNavigation();
const { formatMessage, labels } = useMessages();
- const handleSelect = key => {
+ const handleSelect = (key: any) => {
router.push(makeUrl({ view: key }), { scroll: true });
};
@@ -33,12 +33,20 @@ export function PagesTable({ allowFilter, ...props }: PagesTableProps) {
];
const renderLink = ({ x }) => {
- return ;
+ return (
+
+ );
};
return (