File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Based on – [deferred payment guide](https://docs.stripe.com/payments/accept-a-
7777</template>
7878
7979<script setup lang="ts">
80- import { onBeforeMount, ref, useTemplateRef } from "vue"
80+ import { onBeforeMount, ref } from "vue"
8181import { loadStripe } from "@stripe/stripe-js"
8282import { StripeElements, StripeElement } from "vue-stripe-js"
8383
@@ -106,8 +106,8 @@ const stripeLoaded = ref(false)
106106const clientSecret = ref("")
107107
108108// Define component refs
109- const elementsComponent = useTemplateRef("elementsComponent" )
110- const paymentComponent = useTemplateRef("paymentComponent" )
109+ const elementsComponent = ref( )
110+ const paymentComponent = ref( )
111111
112112onBeforeMount(() => {
113113 loadStripe(stripeKey.value).then(() => {
You can’t perform that action at this time.
0 commit comments