File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -284,8 +284,11 @@ const Account: React.FC = () => {
284284 borderColor : getTierColor ( planOption . id )
285285 } }
286286 onClick = { ( ) => {
287- // TODO: Implement plan upgrade functionality
288- alert ( 'Plan upgrade functionality coming soon!' ) ;
287+ if ( planOption . id === 'pro' ) {
288+ window . open ( 'https://buy.stripe.com/00w9AU6UNei60rlbMreIw00' , '_blank' ) ;
289+ } else {
290+ alert ( 'Plan upgrade functionality coming soon!' ) ;
291+ }
289292 } }
290293 >
291294 { planOption . priceInCents === 0 ? 'Downgrade' : 'Upgrade' } to { planOption . name }
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ const Header: React.FC<HeaderProps> = ({isSubpage = false}) => {
4444 </ button >
4545 </ >
4646 ) }
47- < a href = "#premium" className = "nav-link nav-link-premium" > Get Premium</ a >
4847 </ div >
4948 </ nav >
5049 </ header >
You can’t perform that action at this time.
0 commit comments