Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix crash in notes list

ammarahm-ed4fc4951e2e8e
diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js
index b33283236..20e8b2fe7 100644
--- a/apps/mobile/app/components/list-items/note/index.js
+++ b/apps/mobile/app/components/list-items/note/index.js
@@ -105,7 +105,7 @@ const NoteItem = ({
marginBottom: 2.5
}}
>
- {notebooks.map((_item) => (
+ {notebooks?.map((_item) => (
<Button
title={_item.title}
key={_item}