Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: remove account navbar tab from this PR

Marc Seitz29cf762b7ac4
diff --git a/components/sidebar/app-sidebar.tsx b/components/sidebar/app-sidebar.tsx
index 49ccc11f..b088ba66 100644
--- a/components/sidebar/app-sidebar.tsx
+++ b/components/sidebar/app-sidebar.tsx
@@ -135,29 +135,6 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
},
],
},
- {
- title: "Account",
- url: "/account/general",
- icon: CircleUserRound,
- isActive:
- router.pathname.includes("account") &&
- !router.pathname.includes("branding") &&
- !router.pathname.includes("datarooms") &&
- !router.pathname.includes("documents") &&
- !router.pathname.includes("settings"),
- items: [
- {
- title: "General",
- url: "/account/general",
- current: router.pathname.includes("account/general"),
- },
- {
- title: "Security",
- url: "/account/security",
- current: router.pathname.includes("account/security"),
- },
- ],
- },
],
};