Skip to content

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

fix: favorites note appearing

thecodrr47170abb53b2
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 57ef9e28d..4b0541756 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -141,6 +141,9 @@ function App() {
setShow(!show);
return;
}
+ if (item.onClick) {
+ return item.onClick();
+ }
if (RootNavigator.navigate(item.key)) {
setSelectedKey(item.key);
}
diff --git a/apps/web/src/components/animated/index.js b/apps/web/src/components/animated/index.js
new file mode 100644
index 000000000..c24762339
--- /dev/null
+++ b/apps/web/src/components/animated/index.js
@@ -0,0 +1,9 @@
+import { motion } from "framer-motion";
+import * as Rebass from "rebass";
+
+export default {
+ Flex: motion.custom(Rebass.Flex),
+ Box: motion.custom(Rebass.Box),
+ Image: motion.custom(Rebass.Image),
+ Text: motion.custom(Rebass.Text)
+};