File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
apps/web/src/routes/_view/app Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,6 @@ function AccountSettingsCard() {
7474 const status = billingQuery . data . status ;
7575 if ( status === "trialing" ) return "trial" ;
7676 if ( status === "active" ) return "pro" ;
77- if ( status === "canceled" || status === "past_due" || status === "unpaid" ) {
78- return "trial_over" ;
79- }
8077 return "free" ;
8178 } ) ( ) ;
8279
@@ -89,7 +86,7 @@ function AccountSettingsCard() {
8986 ) ;
9087 }
9188
92- if ( currentPlan === "free" || currentPlan === "trial_over" ) {
89+ if ( currentPlan === "free" ) {
9390 return (
9491 < Link
9592 to = "/app/checkout"
@@ -115,7 +112,6 @@ function AccountSettingsCard() {
115112 const getPlanDisplay = ( ) => {
116113 if ( billingQuery . isLoading ) return "..." ;
117114 if ( currentPlan === "trial" ) return "Trial" ;
118- if ( currentPlan === "trial_over" ) return "Trial Ended" ;
119115 if ( currentPlan === "pro" ) return "Pro" ;
120116 return "Free" ;
121117 } ;
You can’t perform that action at this time.
0 commit comments