Skip to content

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

fix crash

ammarahm-ed11584ef0061e
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index 85ca828b7..06cea7a3a 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -41,7 +41,7 @@ export const Notes = ({navigation}) => {
init();
dispatch({
type: ACTIONS.CURRENT_SCREEN,
- screen: param.type,
+ screen: params.type,
});
}
}, [isFocused, allNotes, colorNotes]);