From 2ef56e7f83551d63945e92d89e0314e8786a79c7 Mon Sep 17 00:00:00 2001 From: pramod mahajan Date: Sat, 13 Sep 2025 16:10:17 +0530 Subject: [PATCH] added correct msg for contact person --- src/components/Directory/ContactProfile.jsx | 2 +- src/components/Directory/NotesDirectory.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Directory/ContactProfile.jsx b/src/components/Directory/ContactProfile.jsx index 04f035b8..89c2f1b5 100644 --- a/src/components/Directory/ContactProfile.jsx +++ b/src/components/Directory/ContactProfile.jsx @@ -276,7 +276,7 @@ const ContactProfile = ({ contactId }) => { )}
- + ); diff --git a/src/components/Directory/NotesDirectory.jsx b/src/components/Directory/NotesDirectory.jsx index 2ff25403..cbe4bc24 100644 --- a/src/components/Directory/NotesDirectory.jsx +++ b/src/components/Directory/NotesDirectory.jsx @@ -17,7 +17,7 @@ const schema = z.object({ note: z.string().min(1, { message: "Note is required" }), }); -const NotesDirectory = ({ contactId }) => { +const NotesDirectory = ({ contactId,contactPerson }) => { const [isActive, setIsActive] = useState(true); const [showEditor, setShowEditor] = useState(false); @@ -169,8 +169,8 @@ const NotesDirectory = ({ contactId }) => { : !isLoading && !showEditor && (
- Be the first to share your insights! Aadnya Construction - currently has no notes. + {`Be the first to share your insights! ${contactPerson} + currently has no notes.`}
)}