Fixed 'use client' usage.
This commit is contained in:
12
src/app/(main)/websites/WebsitesPage.tsx
Normal file
12
src/app/(main)/websites/WebsitesPage.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
'use client';
|
||||
import WebsitesHeader from 'app/(main)/settings/websites/WebsitesHeader';
|
||||
import WebsitesDataTable from 'app/(main)/settings/websites/WebsitesDataTable';
|
||||
|
||||
export default function WebsitesPage({ teamId, userId }: { teamId: string; userId: string }) {
|
||||
return (
|
||||
<>
|
||||
<WebsitesHeader teamId={teamId} />
|
||||
<WebsitesDataTable teamId={teamId} userId={userId} allowEdit={false} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user