From efc2102b90052628e5f5d5bc17d4c432448cfc26 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Wed, 16 Aug 2023 13:49:19 +0200 Subject: [PATCH] chore: remove double emtpy state add CTA --- apps/web/src/app/(dashboard)/documents/page.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/web/src/app/(dashboard)/documents/page.tsx b/apps/web/src/app/(dashboard)/documents/page.tsx index 9a04d7ba1..832d7a7af 100644 --- a/apps/web/src/app/(dashboard)/documents/page.tsx +++ b/apps/web/src/app/(dashboard)/documents/page.tsx @@ -78,7 +78,6 @@ export default async function DocumentsPage({ searchParams = {} }: DocumentsPage
- @@ -121,12 +120,7 @@ export default async function DocumentsPage({ searchParams = {} }: DocumentsPage
- {/* If we're viewing all documents for all time and there's nuffin we should should show an add document component instead */} - {isNoResults ? ( - - ) : ( - - )} +
);