Skip to content

Commit

Permalink
chore: remove async
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 20, 2024
1 parent 1767b2b commit 1c9ea4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/NuxtTurnstile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const unmount = () => {
}
}
onLoaded(async (instance) => {
onLoaded((instance) => {
id = instance.render(el.value, {
sitekey: props.siteKey || config.siteKey,
callback: (token: string) => emit('update:modelValue', token),
Expand Down

0 comments on commit 1c9ea4b

Please sign in to comment.