diff --git a/docs/app/components/content/examples/form/FormExampleBasic.vue b/docs/app/components/content/examples/form/FormExampleBasic.vue index 6543605a..e077b192 100644 --- a/docs/app/components/content/examples/form/FormExampleBasic.vue +++ b/docs/app/components/content/examples/form/FormExampleBasic.vue @@ -14,7 +14,7 @@ const validate = (state: any): FormError[] => { } const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/components/content/examples/form/FormExampleElements.vue b/docs/app/components/content/examples/form/FormExampleElements.vue index 30010f44..a841fce1 100644 --- a/docs/app/components/content/examples/form/FormExampleElements.vue +++ b/docs/app/components/content/examples/form/FormExampleElements.vue @@ -47,7 +47,7 @@ const items = [ ] const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/components/content/examples/form/FormExampleJoi.vue b/docs/app/components/content/examples/form/FormExampleJoi.vue index fb2ddd6c..74514c4b 100644 --- a/docs/app/components/content/examples/form/FormExampleJoi.vue +++ b/docs/app/components/content/examples/form/FormExampleJoi.vue @@ -15,7 +15,7 @@ const state = reactive({ }) const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/components/content/examples/form/FormExampleNested.vue b/docs/app/components/content/examples/form/FormExampleNested.vue index a05266e0..78e0fea1 100644 --- a/docs/app/components/content/examples/form/FormExampleNested.vue +++ b/docs/app/components/content/examples/form/FormExampleNested.vue @@ -18,7 +18,7 @@ type NestedSchema = z.output const state = reactive>({ }) const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/components/content/examples/form/FormExampleNestedList.vue b/docs/app/components/content/examples/form/FormExampleNestedList.vue index e73e7c51..195bdfc6 100644 --- a/docs/app/components/content/examples/form/FormExampleNestedList.vue +++ b/docs/app/components/content/examples/form/FormExampleNestedList.vue @@ -34,7 +34,7 @@ function removeItem() { const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/components/content/examples/form/FormExampleOnError.vue b/docs/app/components/content/examples/form/FormExampleOnError.vue index 801e7b87..f02d1406 100644 --- a/docs/app/components/content/examples/form/FormExampleOnError.vue +++ b/docs/app/components/content/examples/form/FormExampleOnError.vue @@ -14,7 +14,7 @@ const validate = (state: any): FormError[] => { } const toast = useToast() -async function onSubmit(event: FormSubmitEvent) { +async function onSubmit(event: FormSubmitEvent) { toast.add({ title: 'Success', description: 'The form has been submitted.', color: 'success' }) console.log(event.data) } diff --git a/docs/app/pages/pro/activate.vue b/docs/app/pages/pro/activate.vue index 9e2920ab..c1c214b1 100644 --- a/docs/app/pages/pro/activate.vue +++ b/docs/app/pages/pro/activate.vue @@ -33,7 +33,7 @@ const activating = ref(false) const successMessage = ref() const errorMessage = ref('') -async function submit(event: FormSubmitEvent) { +async function submit(event: FormSubmitEvent) { activating.value = true errorMessage.value = '' successMessage.value = ''