Skip to content

Commit fe48de5

Browse files
committed
temp: test other sequence in stripeInit
1 parent af719ed commit fe48de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/composables/useStripeProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ export function useStripeProvider() {
3131
if (stripePulicKey === '') {
3232
return
3333
}
34+
stripe.value = await loadStripe(stripePulicKey)
3435
await $fetch(`${apiClient}/pricing`, {
3536
onResponse({
3637
response,
3738
}) {
3839
csrfToken.value = response.headers.get('x-csrf-token') ?? ''
3940
},
4041
})
41-
stripe.value = await loadStripe(stripePulicKey)
4242
}
4343

4444
const stripeCustomerPortal = async () => {

0 commit comments

Comments
 (0)