Skip to content

Commit

Permalink
fix: move turnstile outside form
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jul 19, 2023
1 parent 3976da7 commit f575bbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/thanks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ async function create() {
</div>

<div>
<NuxtTurnstile v-model="formData.token" />
<br>
<Button label="Submit!" type="submit" size="small" :loading="formData.pending" />
</div>
</form>
Expand Down Expand Up @@ -234,6 +232,9 @@ async function create() {
</div>
</div>
</section>

<br>
<NuxtTurnstile v-model="formData.token" />
</main>
</div>
</template>

0 comments on commit f575bbf

Please sign in to comment.