mirror of
https://github.com/twentyhq/twenty
synced 2026-05-23 17:09:29 +00:00
fix note card display (#2989)
This commit is contained in:
parent
45deb468cc
commit
7f3d5e0e82
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue