Skip to content

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

refactor: fix all unused refrences warnings

thecodrr1e78ccd1b54a
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.js
index f23d89cf4..b93c983f6 100644
--- a/apps/web/src/common/selectionoptions.js
+++ b/apps/web/src/common/selectionoptions.js
@@ -6,7 +6,7 @@ import { store as editorStore } from "../stores/editor-store";
import { store as trashStore } from "../stores/trash-store";
import { db } from "./index";
import { showMoveNoteDialog } from "../components/dialogs/movenotedialog";
-import { confirm, showDeleteConfirmation } from "../components/dialogs/confirm";
+import { showDeleteConfirmation } from "../components/dialogs/confirm";
function createOption(key, icon, onClick) {
return {
diff --git a/apps/web/src/components/dialogs/move-note-dialog.js b/apps/web/src/components/dialogs/move-note-dialog.js
index 49e779fc4..18650d5d1 100644
--- a/apps/web/src/components/dialogs/move-note-dialog.js
+++ b/apps/web/src/components/dialogs/move-note-dialog.js
@@ -1,10 +1,8 @@
import React from "react";
import { Flex, Box, Text, Button } from "rebass";
-import { Input } from "@rebass/forms";
import * as Icon from "../icons";
import { db } from "../../common";
import Dialog, { showDialog } from "./dialog";
-import { toTitleCase } from "../../utils/string";
import { showNotesMovedToast } from "../../common/toasts";
import { showToast } from "../../utils/toast";
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index ea9e25cc1..6cbc53a41 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -2,9 +2,8 @@ import React from "react";
import { Flex, Text } from "rebass";
import ListItem from "../list-item";
import { store } from "../../stores/notebook-store";
-import * as Icon from "../icons";
import { showEditNoteDialog } from "../dialogs/addnotebookdialog";
-import { confirm, showDeleteConfirmation } from "../dialogs/confirm";
+import { showDeleteConfirmation } from "../dialogs/confirm";
import { showItemDeletedToast, showUnpinnedToast } from "../../common/toasts";
const pin = async (notebook, index) => {
await store.pin(notebook, index);