Skip to content

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

chore: update banner and constants

Marc Seitz71c3db4c5e75
diff --git a/components/sidebar/app-sidebar.tsx b/components/sidebar/app-sidebar.tsx
index bd4932dc..26e44a75 100644
--- a/components/sidebar/app-sidebar.tsx
+++ b/components/sidebar/app-sidebar.tsx
@@ -193,16 +193,13 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
{/*
* if user is free and showProBanner is true show pro banner
*/}
- {userPlan === "free" && !userTrial && showProBanner ? (
+ {userPlan === "free" && showProBanner ? (
<ProBanner setShowProBanner={setShowProBanner} />
) : null}
{/*
* if user is pro and showProAnnualBanner is true show pro annual banner
*/}
- {userPlan === "pro" &&
- !isAnnualPlan &&
- !userTrial &&
- showProAnnualBanner ? (
+ {userPlan === "pro" && !isAnnualPlan && showProAnnualBanner ? (
<ProAnnualBanner
setShowProAnnualBanner={setShowProAnnualBanner}
/>
diff --git a/ee/stripe/constants.ts b/ee/stripe/constants.ts
index dc26e398..7c42ce81 100644
--- a/ee/stripe/constants.ts
+++ b/ee/stripe/constants.ts
@@ -84,7 +84,6 @@ export const BASE_FEATURES: Record<PlanEnum, PlanFeatures> = {
usersIncluded: 3,
},
{ id: "datarooms", text: "Unlimited data rooms" },
- { id: "documents", text: "1000 documents" },
{
id: "custom-domain",
text: "Custom domain for documents",