Skip to content

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

chore: remove extra console.logs

thecodrr87427a197014
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 70a8b9c2b..30689cd36 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -93,7 +93,6 @@ function App() {
useEffect(() => {
if (!isMobile && !isTablet) return;
- console.log("turning", isEditorOpen);
setShow(!isEditorOpen);
//setIsEditorOpen(!show);
// if (isTablet) toggleSideMenu(!isEditorOpen);
diff --git a/apps/web/src/components/dialogs/topicdialog.js b/apps/web/src/components/dialogs/topicdialog.js
index 652830268..6719c1144 100644
--- a/apps/web/src/components/dialogs/topicdialog.js
+++ b/apps/web/src/components/dialogs/topicdialog.js
@@ -60,7 +60,6 @@ export function showTopicDialog() {
export function showEditTopicDialog(notebookId, topicId) {
const topic = db.notebooks.notebook(notebookId)?.topics?.topic(topicId)
?._topic;
- console.log(topic);
if (!topic) return;
return showDialog((perform) => (
<TopicDialog
diff --git a/apps/web/src/navigation/hash-routes.js b/apps/web/src/navigation/hash-routes.js
index 9b9b2cdba..dc0966d99 100644
--- a/apps/web/src/navigation/hash-routes.js
+++ b/apps/web/src/navigation/hash-routes.js
@@ -41,7 +41,6 @@ const hashroutes = {
showEditTopicDialog(notebookId, topicId);
},
"/notes/create": () => {
- console.log("session");
editorStore.get().newSession(noteStore.get().context);
},
"/notes/:noteId/edit": ({ noteId }) => {
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.js
index a30ddae63..0cadfb594 100644
--- a/apps/web/src/stores/editor-store.js
+++ b/apps/web/src/stores/editor-store.js
@@ -156,7 +156,6 @@ class EditorStore extends BaseStore {
};
setSession = (set) => {
- console.log("setSession");
const oldSession = { ...this.get().session };
this.set(set);
this.saveSession(oldSession);
diff --git a/apps/web/src/views/recovery.js b/apps/web/src/views/recovery.js
index 38ceead1d..8c44ae135 100644
--- a/apps/web/src/views/recovery.js
+++ b/apps/web/src/views/recovery.js
@@ -109,7 +109,6 @@ function AccountRecovery(props) {
var recoveryKey = formData.get("recovery_key");
if (recoveryKey) {
const [key] = recoveryKey.split("\0");
- console.log(recoveryKey.split("\0"));
await doWorkWithLoading(
"Downloading your data. This might take a bit.",
async () => {
diff --git a/apps/web/src/views/search.js b/apps/web/src/views/search.js
index 2a37a2f16..fb0515da3 100644
--- a/apps/web/src/views/search.js
+++ b/apps/web/src/views/search.js
@@ -43,7 +43,6 @@ function Search() {
<SearchBox
onSearch={async (query) => {
const [lookupType, items] = await typeToItems(type, context);
- console.log(lookupType, items, type, context);
setResults([]);
if (items.length <= 0) return;
diff --git a/apps/web/src/views/trash.js b/apps/web/src/views/trash.js
index 20399c96c..6377321bd 100644
--- a/apps/web/src/views/trash.js
+++ b/apps/web/src/views/trash.js
@@ -11,7 +11,6 @@ function Trash() {
useEffect(() => store.refresh(), []);
const items = useStore((store) => store.trash);
const clearTrash = useStore((store) => store.clear);
- console.log(items);
return (
<ListContainer
type="trash"