Skip to content

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

make sure that notes are never null

ammarahm-ed501a6f8337c0
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index 55dd9ab30..34e7bd559 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -260,7 +260,7 @@ export const Notes = ({route, navigation}) => {
/>
</ContainerTopSection>
<SimpleList
- listData={notes}
+ listData={notes || []}
type="notes"
screen="NotesPage"
refreshCallback={_refreshCallback}