Skip to content

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

fix: properties not showing

thecodrre63c98a8ff62
diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.js
index 16ced94fc..be73107cd 100644
--- a/apps/web/src/components/properties/index.js
+++ b/apps/web/src/components/properties/index.js
@@ -4,7 +4,6 @@ import { Box, Flex, Text } from "rebass";
import { Input } from "@rebass/forms";
import CheckBox from "../checkbox";
import { PinIcon } from "../icons";
-import { usePersistentState } from "../../utils/hooks";
import { useStore } from "../../stores/editor-store";
import { COLORS } from "../../common";
import { objectMap } from "../../utils/object";
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js
index ff356a37d..f4fc818a0 100644
--- a/apps/web/src/stores/app-store.js
+++ b/apps/web/src/stores/app-store.js
@@ -21,12 +21,12 @@ function appStore(set, get) {
},
hideProperties: function() {
set(state => {
- state.propState = false;
+ state.arePropertiesVisible = false;
});
},
showProperties: function() {
set(state => {
- state.propState = true;
+ state.arePropertiesVisible = true;
});
},
enterSelectionMode: function() {