File tree 1 file changed +9
-2
lines changed
components/dashboard/src/teams 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,9 @@ export default function TeamUsageBasedBilling() {
144
144
< div className = "text-xl font-semibold flex-grow text-gray-600 dark:text-gray-400" >
145
145
Active
146
146
</ div >
147
- { /* <button className="self-end secondary" disabled={true}>
147
+ < button className = "self-end secondary" disabled = { true } >
148
148
Manage →
149
- </button> */ }
149
+ </ button >
150
150
</ >
151
151
) }
152
152
</ div >
@@ -156,6 +156,13 @@ export default function TeamUsageBasedBilling() {
156
156
) ;
157
157
}
158
158
159
+ // (Node.js)
160
+ // const session = await stripe.billingPortal.sessions.create({
161
+ // customer: '{{CUSTOMER_ID}}',
162
+ // return_url: 'https://example.com/account',
163
+ // });
164
+ // res.redirect(session.url);
165
+
159
166
function BillingSetupModal ( props : { onClose : ( ) => void } ) {
160
167
const { isDark } = useContext ( ThemeContext ) ;
161
168
const [ stripePromise , setStripePromise ] = useState < Promise < Stripe | null > | undefined > ( ) ;
You can’t perform that action at this time.
0 commit comments