refactor: add comments

This commit is contained in:
David Nguyen
2024-02-19 13:22:48 +11:00
parent 7fbe9b519c
commit 791a22cb5f
2 changed files with 3 additions and 1 deletions

View File

@ -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',

View File

@ -9,7 +9,7 @@ export const RECIPIENT_ROLES_DESCRIPTION = {
},
[RecipientRole.CC]: {
actionVerb: 'CC',
actioned: 'CCed',
actioned: `CC'd`,
progressiveVerb: 'CC',
roleName: 'Cc',
},