Skip to content

The Open Source DocuSign Alternative.

refactor: add comments

David Nguyen791a22cb5f83
diff --git a/apps/web/src/components/document/document-history-sheet.tsx b/apps/web/src/components/document/document-history-sheet.tsx
index 29d9a9c96..0d0c56aa2 100644
--- a/apps/web/src/components/document/document-history-sheet.tsx
+++ b/apps/web/src/components/document/document-history-sheet.tsx
@@ -51,6 +51,7 @@ export const DocumentHistorySheet = ({
},
{
getNextPageParam: (lastPage) => lastPage.nextCursor,
+ keepPreviousData: true,
},
);
@@ -168,6 +169,7 @@ export const DocumentHistorySheet = ({
},
];
+ // Insert the name to the start of the array if available.
if (data.recipientName) {
values.unshift({
key: 'Name',
diff --git a/packages/lib/constants/recipient-roles.ts b/packages/lib/constants/recipient-roles.ts
index 44e4c34da..ce1037dd9 100644
--- a/packages/lib/constants/recipient-roles.ts
+++ b/packages/lib/constants/recipient-roles.ts
@@ -9,7 +9,7 @@ export const RECIPIENT_ROLES_DESCRIPTION = {
},
[RecipientRole.CC]: {
actionVerb: 'CC',
- actioned: 'CCed',
+ actioned: `CC'd`,
progressiveVerb: 'CC',
roleName: 'Cc',
},