Updated query hooks for teams and websites.

This commit is contained in:
Mike Cao 2024-01-29 01:32:05 -08:00
parent 9448aa3ab5
commit 2fa50892d8
61 changed files with 508 additions and 539 deletions

View file

@ -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} />;