From befce59a951da9787db1a9d6c328b44a75169d3e Mon Sep 17 00:00:00 2001 From: Jonathan Kila <90631155+Excelsior2021@users.noreply.github.com> Date: Wed, 1 Oct 2025 18:38:26 +0100 Subject: [PATCH] Update use-submission.mdx Fix typo, 'dated' to 'data'. --- src/routes/solid-router/reference/data-apis/use-submission.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/solid-router/reference/data-apis/use-submission.mdx b/src/routes/solid-router/reference/data-apis/use-submission.mdx index 7153e664c..962506b8a 100644 --- a/src/routes/solid-router/reference/data-apis/use-submission.mdx +++ b/src/routes/solid-router/reference/data-apis/use-submission.mdx @@ -31,7 +31,7 @@ Learn more about actions in the [`action`](/solid-router/reference/data-apis/act ## Filtering Submissions As an optional second parameter, the `useSubmission` helper can receive a filter function to only return the submission that matches the condition. -The filter receives the submitted dated as a parameter and should return a boolean value. +The filter receives the submitted data as a parameter and should return a boolean value. E.g.: action below will only submit if the name is "solid". ```tsx title="component.tsx" {4-8}