diff --git a/packages/ui/primitives/document-flow/add-fields.tsx b/packages/ui/primitives/document-flow/add-fields.tsx
index c56e91b49..62daf803b 100644
--- a/packages/ui/primitives/document-flow/add-fields.tsx
+++ b/packages/ui/primitives/document-flow/add-fields.tsx
@@ -22,7 +22,12 @@ import {
CommandInput,
CommandItem,
} from '@documenso/ui/primitives/command';
-import { Popover, PopoverContent, PopoverTrigger } from '@documenso/ui/primitives/popover';
+import {
+ Popover,
+ PopoverClose,
+ PopoverContent,
+ PopoverTrigger,
+} from '@documenso/ui/primitives/popover';
import { Tooltip, TooltipContent, TooltipTrigger } from '@documenso/ui/primitives/tooltip';
import { TAddFieldsFormSchema } from './add-fields.types';
@@ -324,7 +329,7 @@ export const AddFieldsFormPartial = ({
>
{selectedSigner?.email && (
- {selectedSigner?.email} ({selectedSigner?.email})
+ {selectedSigner?.name} ({selectedSigner?.email})
)}
@@ -345,45 +350,49 @@ export const AddFieldsFormPartial = ({
{recipients.map((recipient, index) => (
setSelectedSigner(recipient)}
>
- {recipient.sendStatus !== SendStatus.SENT ? (
-
- ) : (
-
-
-
-
-
- This document has already been sent to this recipient. You can no
- longer edit this recipient.
-
-
- )}
+
+ {recipient.sendStatus !== SendStatus.SENT ? (
+
+ ) : (
+
+
+
+
+
+ This document has already been sent to this recipient. You can no
+ longer edit this recipient.
+
+
+ )}
- {recipient.name && (
-
- {recipient.name} ({recipient.email})
-
- )}
+ {recipient.name && (
+
+ {recipient.name} ({recipient.email})
+
+ )}
- {!recipient.name && (
-
- {recipient.email}
-
- )}
+ {!recipient.name && (
+
+ {recipient.email}
+
+ )}
+
))}
diff --git a/packages/ui/primitives/popover.tsx b/packages/ui/primitives/popover.tsx
index e84f6cc6d..640b3087e 100644
--- a/packages/ui/primitives/popover.tsx
+++ b/packages/ui/primitives/popover.tsx
@@ -10,6 +10,8 @@ const Popover = PopoverPrimitive.Root;
const PopoverTrigger = PopoverPrimitive.Trigger;
+const PopoverClose = PopoverPrimitive.Close;
+
const PopoverContent = React.forwardRef<
React.ElementRef,
React.ComponentPropsWithoutRef
@@ -30,4 +32,4 @@ const PopoverContent = React.forwardRef<
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
-export { Popover, PopoverTrigger, PopoverContent };
+export { Popover, PopoverTrigger, PopoverContent, PopoverClose };