Skip to content

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

mobile: fix naviation to notebook

ammarahm-edee71d2b260f6
diff --git a/apps/mobile/app/components/list-items/notebook/wrapper.js b/apps/mobile/app/components/list-items/notebook/wrapper.js
index f4bbfdfc1..504100128 100644
--- a/apps/mobile/app/components/list-items/notebook/wrapper.js
+++ b/apps/mobile/app/components/list-items/notebook/wrapper.js
@@ -31,9 +31,9 @@ import SelectionWrapper from "../selection-wrapper";
const navigateToNotebook = (item, canGoBack) => {
if (!item) return;
- Navigation.navigate <
- "Notebook" >
- ({
+
+ Navigation.navigate(
+ {
title: item.title,
name: "Notebook",
id: item.id,
@@ -43,7 +43,8 @@ const navigateToNotebook = (item, canGoBack) => {
title: item.title,
item: item,
canGoBack
- });
+ }
+ );
};
export const openNotebookTopic = (item) => {