Fix performance issues for libView page #26

This commit is contained in:
prayag17 committed 2023-04-25 13:37:10 +05:30
1 parent 9c4c1191d8
commit 1d31496854
4 files changed
+156 -161

No files matched your search

+1 -9
View File
@@ -89,15 +89,9 @@ event.on("set-api-accessToken", (serverAddress) => {
const anim = {
initial: {
opacity: 0,
x: -50,
},
animate: {
opacity: 1,
x: 0,
},
exit: {
opacity: 0,
x: 50,
},
};
@@ -108,10 +102,8 @@ const AnimationWrapper = () => {
variants={anim}
initial="initial"
animate="animate"
exit="exit"
transition={{
duration: 0.3,
ease: "easeInOut",
duration: 0.4,
}}
>
<Outlet />