diff --git a/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx b/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx index 86ff06731a0..7a476bff0c4 100644 --- a/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx +++ b/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx @@ -2,6 +2,7 @@ title: Validators | QwikCity contributors: - wtlin1228 + - harishkrishnan24 --- # Data Validators @@ -75,7 +76,7 @@ export const useAction = routeAction$( ); ``` -If `validator3` has a `data` property in its success return object, this data will be passed to the next validator, `validator2`. If your don't want to override the original submitted data, avoid putting the `data` property in the success return object. +If `validator3` has a `data` property in its success return object, this data will be passed to the next validator, `validator2`. If you don't want to override the original submitted data, avoid putting the `data` property in the success return object. ```tsx /message: "hi, I am validator3"/#a /message: "hi, I am validator2"/#b /message: "hi, I am validator1"/#c export const useAction = routeAction$( @@ -174,4 +175,4 @@ export const useAction = routeAction$( validator$(/*...*/), validator$(/*...*/), ); -``` \ No newline at end of file +``` diff --git a/packages/docs/src/routes/tutorial/events/synchronous/solution/app.tsx b/packages/docs/src/routes/tutorial/events/synchronous/solution/app.tsx index 34a95852ea8..939c26316cb 100644 --- a/packages/docs/src/routes/tutorial/events/synchronous/solution/app.tsx +++ b/packages/docs/src/routes/tutorial/events/synchronous/solution/app.tsx @@ -2,7 +2,7 @@ import { component$, useVisibleTask$, useSignal } from '@builder.io/qwik'; export default component$(() => { const aHref = useSignal(); - useVisibleTask$(({cleanup}) => { + useVisibleTask$(({ cleanup }) => { const handler = (event: Event) => { event.preventDefault(); window.open('http://qwik.builder.io');