Skip to content

Commit dd4ab52

Browse files
committed
Remove CapAIBox animation from admin navbar
1 parent c89451b commit dd4ab52

File tree

1 file changed

+0
-19
lines changed
  • apps/web/app/(org)/dashboard/_components/Navbar

1 file changed

+0
-19
lines changed

apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -324,25 +324,6 @@ const AdminNavItems = ({ toggleMobileNav }: Props) => {
324324
<SpacesList toggleMobileNav={() => toggleMobileNav?.()} />
325325
</div>
326326
<div className="pb-4 mt-auto w-full">
327-
<AnimatePresence>
328-
{!sidebarCollapsed && !user.isPro && (
329-
<motion.div
330-
initial={{ scale: 0 }}
331-
animate={{ scale: 1 }}
332-
exit={{ scale: 0 }}
333-
transition={{
334-
type: "spring",
335-
bounce: 0.2,
336-
duration: 0.2,
337-
}}
338-
>
339-
<CapAIBox
340-
openAIDialog={openAIDialog}
341-
setOpenAIDialog={setOpenAIDialog}
342-
/>
343-
</motion.div>
344-
)}
345-
</AnimatePresence>
346327
<UsageButton
347328
toggleMobileNav={() => toggleMobileNav?.()}
348329
subscribed={user.isPro}

0 commit comments

Comments
 (0)