We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3def4 commit 2fc1bc6Copy full SHA for 2fc1bc6
docs/forms.md
@@ -104,7 +104,9 @@ end
104
```
105
106
```jsx
107
-const validationErrors = useSelector((state) => state.flash[:postFormErrors])
+import { useAppSelector } from '@javascript/store'
108
+
109
+const validationErrors = useAppSelector((state) => state.flash.postFormErrors)
110
111
<Form {...form} extras={extras} validationErrors={validationErrors}>
112
<TextField {...inputs.title} label="Post title" errorKey="post_title"/>
0 commit comments