Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Hide CapAIBox if subscribed

Richie McIlroy99770b9edc86
diff --git a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
index eaa8988bb..6e5008ab2 100644
--- a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
+++ b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx
@@ -364,7 +364,7 @@ const AdminNavItems = ({ toggleMobileNav }: Props) => {
</div>
<div className="pb-4 mt-auto w-full">
<AnimatePresence>
- {!sidebarCollapsed && (
+ {!sidebarCollapsed && !userIsSubscribed && (
<motion.div
initial={{ scale: 0 }}
animate={{ scale: 1 }}