Fix performance issues for libView page #26
This commit is contained in:
4 files changed
+156
-161
No files matched your search
+1
-9
@@ -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 />
|
||||
|
||||
Reference in new issue
Block a user