Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

add comment about NoteCreateSheet repetition

Jean-Baptiste Kaiserd524e97ec341
diff --git a/src/components/atomic-crm/contacts/ContactShow.tsx b/src/components/atomic-crm/contacts/ContactShow.tsx
index 490a3c2b..03d35392 100644
--- a/src/components/atomic-crm/contacts/ContactShow.tsx
+++ b/src/components/atomic-crm/contacts/ContactShow.tsx
@@ -45,6 +45,8 @@ const ContactShowContentMobile = () => {
return (
<>
+ {/* We need to repeat the note creation sheet here to support the note
+ create button that is rendered when there are no notes. */}
<NoteCreateSheet
open={noteCreateOpen}
onOpenChange={setNoteCreateOpen}