Skip to content

Commit e46c8bb

Browse files
committed
fix: hidden trial banner for demo - do not merge
1 parent b7dd5ad commit e46c8bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/container/AppLayout/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import {
6161
import { USER_ROLES } from 'types/roles';
6262
import { eventEmitter } from 'utils/getEventEmitter';
6363
import {
64-
getFormattedDate,
64+
// getFormattedDate,
6565
getFormattedDateWithMinutes,
6666
getRemainingDays,
6767
} from 'utils/timeUtils';
@@ -594,7 +594,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element {
594594
<title>{pageTitle}</title>
595595
</Helmet>
596596

597-
{showTrialExpiryBanner && !showPaymentFailedWarning && (
597+
{/* {showTrialExpiryBanner && !showPaymentFailedWarning && (
598598
<div className="trial-expiry-banner">
599599
You are in free trial period. Your free trial will end on{' '}
600600
<span>{getFormattedDate(trialInfo?.trialEnd || Date.now())}.</span>
@@ -611,7 +611,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element {
611611
'Please contact your administrator for upgrading to a paid plan.'
612612
)}
613613
</div>
614-
)}
614+
)} */}
615615

616616
{showWorkspaceRestricted && renderWorkspaceRestrictedBanner()}
617617

0 commit comments

Comments
 (0)