sub tabs
This commit is contained in:
@@ -85,10 +85,18 @@ export default function Subscription() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="pt-2">
|
||||
<button onClick={() => {
|
||||
navigate(siteLinks.subscribe, {state: {selectedSubscription: value, customerId: stripe_customer_id }})
|
||||
}}
|
||||
className="btn btn-inverse-secondary btn-round btn-sm">Go {value.display_name}</button>
|
||||
{
|
||||
(currentSubscription?.display_name == value.option_name) ? '<b>Current Subscription</b>>' :
|
||||
<button onClick={() => {
|
||||
navigate(siteLinks.subscribe, {
|
||||
state: {
|
||||
selectedSubscription: value,
|
||||
customerId: stripe_customer_id
|
||||
}
|
||||
})
|
||||
}}
|
||||
className="btn btn-inverse-secondary btn-round btn-sm">Go {value.display_name}</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user