Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Remove CapAIBox animation from admin navbar

Richie McIlroydd4ab52861fc
diff --git a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
index bbd498fae..5ec0a76eb 100644
--- a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
+++ b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
@@ -324,25 +324,6 @@ const AdminNavItems = ({ toggleMobileNav }: Props) => {
<SpacesList toggleMobileNav={() => toggleMobileNav?.()} />
</div>
<div className="pb-4 mt-auto w-full">
- <AnimatePresence>
- {!sidebarCollapsed && !user.isPro && (
- <motion.div
- initial={{ scale: 0 }}
- animate={{ scale: 1 }}
- exit={{ scale: 0 }}
- transition={{
- type: "spring",
- bounce: 0.2,
- duration: 0.2,
- }}
- >
- <CapAIBox
- openAIDialog={openAIDialog}
- setOpenAIDialog={setOpenAIDialog}
- />
- </motion.div>
- )}
- </AnimatePresence>
<UsageButton
toggleMobileNav={() => toggleMobileNav?.()}
subscribed={user.isPro}