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.
2 parents b2f7eb9 + 534ce8a commit 265dfecCopy full SHA for 265dfec
src/routes/solid-router/reference/data-apis/use-submission.mdx
@@ -150,14 +150,14 @@ function Component() {
150
151
return (
152
<>
153
- <Show when={submit.error}>
+ <Show when={submission.error}>
154
{(error) => (
155
<div>
156
<p>Error: {error.message}</p>
157
- <button onClick={() => submit.clear()}>
+ <button onClick={() => submission.clear()}>
158
Clear
159
</button>
160
- <button onClick={async () => submit.retry()}>
+ <button onClick={async () => submission.retry()}>
161
Retry
162
163
</div>
@@ -173,4 +173,4 @@ function Component() {
173
</>
174
)
175
}
176
-```
+```
0 commit comments