diff --git a/src/app/(main)/admin/users/[userId]/UserWebsites.tsx b/src/app/(main)/admin/users/[userId]/UserWebsites.tsx
index eeb173e75..7146762b9 100644
--- a/src/app/(main)/admin/users/[userId]/UserWebsites.tsx
+++ b/src/app/(main)/admin/users/[userId]/UserWebsites.tsx
@@ -7,9 +7,7 @@ export function UserWebsites({ userId }) {
return (
- {({ data }) => (
-
- )}
+ {({ data }) => }
);
}
diff --git a/src/app/(main)/websites/WebsitesDataTable.tsx b/src/app/(main)/websites/WebsitesDataTable.tsx
index e29106fc4..14089ee99 100644
--- a/src/app/(main)/websites/WebsitesDataTable.tsx
+++ b/src/app/(main)/websites/WebsitesDataTable.tsx
@@ -8,14 +8,10 @@ import { WebsitesTable } from './WebsitesTable';
export function WebsitesDataTable({
userId,
teamId,
- allowEdit = true,
- allowView = true,
showActions = true,
}: {
userId?: string;
teamId?: string;
- allowEdit?: boolean;
- allowView?: boolean;
showActions?: boolean;
}) {
const { user } = useLoginQuery();
@@ -36,13 +32,7 @@ export function WebsitesDataTable({
return (
{({ data }) => (
-
+
)}
);
diff --git a/src/app/(main)/websites/WebsitesTable.tsx b/src/app/(main)/websites/WebsitesTable.tsx
index 4b3e13ce3..825d02ff3 100644
--- a/src/app/(main)/websites/WebsitesTable.tsx
+++ b/src/app/(main)/websites/WebsitesTable.tsx
@@ -1,5 +1,5 @@
import { DataColumn, DataTable, type DataTableProps, Icon, Text } from '@umami/react-zen';
-import { useMemo, type ReactNode } from 'react';
+import { type ReactNode, useMemo } from 'react';
import { DateDistance } from '@/components/common/DateDistance';
import { LinkButton } from '@/components/common/LinkButton';
import { SortableLabel } from '@/components/common/SortableLabel';
@@ -10,8 +10,6 @@ import { WebsiteSparkline } from './WebsiteSparkline';
export interface WebsitesTableProps extends DataTableProps {
showActions?: boolean;
- allowEdit?: boolean;
- allowView?: boolean;
renderLink?: (row: any) => ReactNode;
}