mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 20:21:19 +02:00
fix: favorites note appearing
This commit is contained in:
@@ -141,6 +141,9 @@ function App() {
|
||||
setShow(!show);
|
||||
return;
|
||||
}
|
||||
if (item.onClick) {
|
||||
return item.onClick();
|
||||
}
|
||||
if (RootNavigator.navigate(item.key)) {
|
||||
setSelectedKey(item.key);
|
||||
}
|
||||
|
||||
9
apps/web/src/components/animated/index.js
Normal file
9
apps/web/src/components/animated/index.js
Normal file
@@ -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)
|
||||
};
|
||||
Reference in New Issue
Block a user