We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af719ed commit fe48de5Copy full SHA for fe48de5
frontend/composables/useStripeProvider.ts
@@ -31,14 +31,14 @@ export function useStripeProvider() {
31
if (stripePulicKey === '') {
32
return
33
}
34
+ stripe.value = await loadStripe(stripePulicKey)
35
await $fetch(`${apiClient}/pricing`, {
36
onResponse({
37
response,
38
}) {
39
csrfToken.value = response.headers.get('x-csrf-token') ?? ''
40
},
41
})
- stripe.value = await loadStripe(stripePulicKey)
42
43
44
const stripeCustomerPortal = async () => {
0 commit comments