Skip to content

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

feat: disable move note functionality for now

thecodrr63a30243ed82
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js
index 86eb88508..083c17e4b 100644
--- a/apps/web/src/components/note/index.js
+++ b/apps/web/src/components/note/index.js
@@ -5,7 +5,7 @@ import TimeAgo from "timeago-react";
import { db, ev } from "../../common";
import { showSnack } from "../snackbar";
import ListItem from "../list-item";
-import { navigate, routes } from "../../navigation";
+//import RootNavigator from "../../navigation/navigators/rootnavigator";
import { ask } from "../dialogs";
const dropdownRefs = [];
@@ -13,10 +13,10 @@ const menuItems = note => [
{
title: note.notebook.notebook ? "Move" : "Add to",
onClick: async () => {
- await navigate(routes.notebooks.key, undefined, {
+ /* RootNavigator.navigate(RootNavigator.routes.notebooks.key, {
intent: "moveNote",
data: note
- });
+ }); */
}
},
{