From c815608dbe98e2ef8176e2587cbcf3d704e0ade8 Mon Sep 17 00:00:00 2001 From: Harish Krishnan Date: Thu, 16 Nov 2023 12:20:28 +0530 Subject: [PATCH 1/3] Fix: typo in qwikcity -> Validator docs --- packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx b/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx index 86ff06731a0..2dcef2d786d 100644 --- a/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx +++ b/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx @@ -75,7 +75,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 +174,4 @@ export const useAction = routeAction$( validator$(/*...*/), validator$(/*...*/), ); -``` \ No newline at end of file +``` From eccdf0873fc9f32cb35cebdd031cbe74e17c32d5 Mon Sep 17 00:00:00 2001 From: Harish Krishnan Date: Thu, 16 Nov 2023 12:31:15 +0530 Subject: [PATCH 2/3] add name to contributor list --- packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx b/packages/docs/src/routes/docs/(qwikcity)/validator/index.mdx index 2dcef2d786d..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 From 1e39adee5cc1d469e9c6331b00ae285de3f5c8af Mon Sep 17 00:00:00 2001 From: gioboa Date: Thu, 16 Nov 2023 15:44:43 +0100 Subject: [PATCH 3/3] =?UTF-8?q?linter=20=F0=9F=A7=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/routes/tutorial/events/synchronous/solution/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');