diff --git a/packages/kit/src/runtime/app/forms.js b/packages/kit/src/runtime/app/forms.js index d55783116a97..ce7a666fe57c 100644 --- a/packages/kit/src/runtime/app/forms.js +++ b/packages/kit/src/runtime/app/forms.js @@ -56,7 +56,7 @@ function clone(element) { * If nothing is returned, the fallback will be used. * * If this function or its return value isn't set, it - * - falls back to updating the `form` prop with the returned data if the action is one same page as the form + * - falls back to updating the `form` prop with the returned data if the action is on the same page as the form * - updates `$page.status` * - resets the `
` element and invalidates all data in case of successful submission with no redirect response * - redirects in case of a redirect response diff --git a/packages/kit/types/index.d.ts b/packages/kit/types/index.d.ts index baf13682e135..e3bf549b2407 100644 --- a/packages/kit/types/index.d.ts +++ b/packages/kit/types/index.d.ts @@ -1999,7 +1999,7 @@ declare module '$app/forms' { * If nothing is returned, the fallback will be used. * * If this function or its return value isn't set, it - * - falls back to updating the `form` prop with the returned data if the action is one same page as the form + * - falls back to updating the `form` prop with the returned data if the action is on the same page as the form * - updates `$page.status` * - resets the `` element and invalidates all data in case of successful submission with no redirect response * - redirects in case of a redirect response