Skip to content

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

fix: resolve all warnings

thecodrr1290948aa72f
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index bad41338c..10683224c 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -1,7 +1,7 @@
import React, { useEffect, useRef } from "react";
import "./editor.css";
import ReactQuill from "./react-quill";
-import { Flex, Box } from "rebass";
+import { Flex } from "rebass";
import Properties from "../properties";
import { useStore, SESSION_STATES } from "../../stores/editor-store";
import { useStore as useAppStore } from "../../stores/app-store";
@@ -10,7 +10,6 @@ import EditorMenu from "./editormenu";
import Header from "./header";
function Editor() {
- const id = useStore((store) => store.session.id);
const delta = useStore((store) => store.session.content.delta);
const sessionState = useStore((store) => store.session.state);
const setSession = useStore((store) => store.setSession);