From 7ee9cb3f939590b883c804fa1667c60d5ed5884f Mon Sep 17 00:00:00 2001 From: Shivam Bhatnagar <88842947+Bitnagar@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:35:10 +0530 Subject: [PATCH] fix(web): fix typo + refactor empty state messages (#583) * fix(web): fix typo + refactor empty state messages * fix(web): refactor default empty-state message --- apps/web/src/app/(dashboard)/documents/empty-state.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/(dashboard)/documents/empty-state.tsx b/apps/web/src/app/(dashboard)/documents/empty-state.tsx index bdfef3bbe..b6d2f74e2 100644 --- a/apps/web/src/app/(dashboard)/documents/empty-state.tsx +++ b/apps/web/src/app/(dashboard)/documents/empty-state.tsx @@ -14,13 +14,13 @@ export const EmptyDocumentState = ({ status }: EmptyDocumentProps) => { .with(ExtendedDocumentStatus.COMPLETED, () => ({ title: 'Nothing to do', message: - 'There are no completed documents yet. Documents that you have created or received that become completed will appear here later.', + 'There are no completed documents yet. Documents that you have created or received will appear here once completed.', icon: CheckCircle2, })) .with(ExtendedDocumentStatus.DRAFT, () => ({ title: 'No active drafts', message: - 'There are no active drafts at then current moment. You can upload a document to start drafting.', + 'There are no active drafts at the current moment. You can upload a document to start drafting.', icon: CheckCircle2, })) .with(ExtendedDocumentStatus.ALL, () => ({ @@ -32,7 +32,7 @@ export const EmptyDocumentState = ({ status }: EmptyDocumentProps) => { .otherwise(() => ({ title: 'Nothing to do', message: - 'All documents are currently actioned. Any new documents are sent or recieved they will start to appear here.', + 'All documents have been processed. Any new documents that are sent or received will show here.', icon: CheckCircle2, }));