Skip to content

Commit befce59

Browse files
Update use-submission.mdx
Fix typo, 'dated' to 'data'.
1 parent 237da62 commit befce59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/solid-router/reference/data-apis/use-submission.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Learn more about actions in the [`action`](/solid-router/reference/data-apis/act
3131
## Filtering Submissions
3232

3333
As an optional second parameter, the `useSubmission` helper can receive a filter function to only return the submission that matches the condition.
34-
The filter receives the submitted dated as a parameter and should return a boolean value.
34+
The filter receives the submitted data as a parameter and should return a boolean value.
3535
E.g.: action below will only submit if the name is "solid".
3636

3737
```tsx title="component.tsx" {4-8}

0 commit comments

Comments
 (0)