Updated query hooks for teams and websites.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
'use client';
|
||||
import WebsitesDataTable from '../settings/websites/WebsitesDataTable';
|
||||
import { useUser } from 'components/hooks';
|
||||
import { useLogin } from 'components/hooks';
|
||||
|
||||
export function WebsitesBrowse() {
|
||||
const { user } = useUser();
|
||||
const { user } = useLogin();
|
||||
const allowEdit = !process.env.cloudMode;
|
||||
|
||||
return <WebsitesDataTable userId={user.id} allowEdit={allowEdit} />;
|
||||
|
||||
Reference in New Issue
Block a user