feat: getting subscription endpoint

This commit is contained in:
Ahmed Bouhuolia
2024-07-27 17:39:50 +02:00
parent db634cbb79
commit 7720b1cc34
5 changed files with 87 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
import * as R from 'ramda';
import { Button } from '@blueprintjs/core';
import withAlertActions from '../Alert/withAlertActions';
import { BillingPageBoot } from './BillingPageBoot';
function BillingPageRoot({ openAlert }) {
const handleCancelSubBtnClick = () => {
@@ -13,11 +14,13 @@ function BillingPageRoot({ openAlert }) {
const handleUpdatePaymentMethod = () => {};
return (
<h1>
<Button onClick={handleCancelSubBtnClick}>Cancel Subscription</Button>
<Button onClick={handleResumeSubBtnClick}>Resume Subscription</Button>
<Button>Update Payment Method</Button>
</h1>
<BillingPageBoot>
<h1>
<Button onClick={handleCancelSubBtnClick}>Cancel Subscription</Button>
<Button onClick={handleResumeSubBtnClick}>Resume Subscription</Button>
<Button>Update Payment Method</Button>
</h1>
</BillingPageBoot>
);
}