From d021d0a38f283442fcca9ef773834c3699c0f54f Mon Sep 17 00:00:00 2001
From: Philipinho <16838612+Philipinho@users.noreply.github.com>
Date: Fri, 14 Mar 2025 23:02:42 +0000
Subject: [PATCH] fix
---
.../src/ee/billing/components/billing-trial.tsx | 13 ++++++-------
apps/client/src/ee/hooks/use-trial-end-action.tsx | 2 +-
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/apps/client/src/ee/billing/components/billing-trial.tsx b/apps/client/src/ee/billing/components/billing-trial.tsx
index ac0e4941..82dcbb03 100644
--- a/apps/client/src/ee/billing/components/billing-trial.tsx
+++ b/apps/client/src/ee/billing/components/billing-trial.tsx
@@ -20,13 +20,12 @@ export default function BillingTrial() {
)}
- {trialDaysLeft === 0 ||
- (trialDaysLeft === null && !billing && (
-
- Your 7-day trial has come to an end. Please subscribe to a plan to
- continue using this service.
-
- ))}
+ {trialDaysLeft === 0 && (
+
+ Your 7-day trial has come to an end. Please subscribe to a plan to
+ continue using this service.
+
+ )}
>
);
}
diff --git a/apps/client/src/ee/hooks/use-trial-end-action.tsx b/apps/client/src/ee/hooks/use-trial-end-action.tsx
index 5ca08dbf..931fd6a8 100644
--- a/apps/client/src/ee/hooks/use-trial-end-action.tsx
+++ b/apps/client/src/ee/hooks/use-trial-end-action.tsx
@@ -18,7 +18,7 @@ export const useTrialEndAction = () => {
notifications.show({
position: "top-right",
color: "red",
- title: "Your 14-day trial has ended",
+ title: "Your 7-day trial has ended",
message:
"Please upgrade to a paid plan or contact your workspace admin.",
autoClose: false,