Updated data table render check.

This commit is contained in:
Mike Cao 2024-05-07 23:09:19 -07:00
parent 3c27f08a97
commit 90bd72cf98
4 changed files with 27 additions and 2 deletions

View file

@ -18,7 +18,7 @@ export function WebsitesDataTable({
}) {
const queryResult = useWebsites({ teamId });
if (!queryResult?.result?.data?.length) {
if (queryResult?.result?.data?.length === 0) {
return children;
}