fix: favorites note appearing

This commit is contained in:
thecodrr
2020-03-11 11:07:27 +05:00
parent d403a38e2b
commit 47170abb53
2 changed files with 12 additions and 0 deletions

View File

@@ -141,6 +141,9 @@ function App() {
setShow(!show);
return;
}
if (item.onClick) {
return item.onClick();
}
if (RootNavigator.navigate(item.key)) {
setSelectedKey(item.key);
}

View 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)
};