Skip to content

Commit 3498f2d

Browse files
committed
fix the condition
1 parent 01956c5 commit 3498f2d

File tree

1 file changed

+1
-1
lines changed
  • app/[locale]/dashboard/[entityType]

1 file changed

+1
-1
lines changed

app/[locale]/dashboard/[entityType]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const Page = () => {
9090
]}
9191
/>
9292
<div className="m-auto flex w-11/12 flex-col">
93-
{allEntityDetails?.organizations?.length === 0 ? (
93+
{allEntityDetails?.organizations.length < 0 ? (
9494
<LoadingPage />
9595
) : (
9696
<div className="container mb-40 ">

0 commit comments

Comments
 (0)