There was an error while loading. Please reload this page.
1 parent 1471e27 commit fc02809Copy full SHA for fc02809
1 file changed
components/admin-sidebar.tsx
@@ -58,12 +58,10 @@ export default function AdminSidebar() {
58
visible: {
59
x: 0,
60
opacity: 1,
61
- transition: { duration: 0.3, ease: "easeInOut" },
62
},
63
exit: {
64
x: "-100%",
65
opacity: 0,
66
67
68
};
69
@@ -129,6 +127,7 @@ export default function AdminSidebar() {
129
127
initial="hidden"
130
128
animate="visible"
131
exit="exit"
+ transition={{ duration: 0.3, ease: "easeInOut" }}
132
className="fixed top-0 left-0 z-[999] w-64 border-r border-white/10 bg-[#121212] flex flex-col h-screen pt-safe"
133
>
134
<div className="flex flex-col h-full">
@@ -176,4 +175,4 @@ export default function AdminSidebar() {
176
175
</AnimatePresence>
177
</>
178
);
179
-}
+}
0 commit comments