Skip to content

The open alternative to Salesforce, designed for AI.

fix note card display (#2989)

brendanlaschke7f3d5e0e82fe
diff --git a/packages/twenty-front/src/modules/activities/notes/components/NoteCard.tsx b/packages/twenty-front/src/modules/activities/notes/components/NoteCard.tsx
index 163ca6ce96b..15fb1bfcbf1 100644
--- a/packages/twenty-front/src/modules/activities/notes/components/NoteCard.tsx
+++ b/packages/twenty-front/src/modules/activities/notes/components/NoteCard.tsx
@@ -84,7 +84,7 @@ export const NoteCard = ({
const theme = useTheme();
const openActivityRightDrawer = useOpenActivityRightDrawer();
- const noteBody = JSON.parse(note.body ?? '[]');
+ const noteBody = note.body ? JSON.parse(note.body) : [];
const body = noteBody.length
? noteBody