Skip to content

Commit c1ba835

Browse files
committed
fix: fix code highlight range for Optimistic Updates section
1 parent 4d9da68 commit c1ba835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ When the form is submitted, the `submission` object will be updated with the new
6161
This allows you to provide feedback to the user that the action is in progress.
6262
Once the action is complete, the `pending` property will be set to `false` and the `result` property will be updated with final value.
6363

64-
```tsx tab title="TypeScript" {5,9-11}
64+
```tsx tab title="TypeScript" {6,10-12}
6565
// component.tsx
6666
import { Show } from "solid-js";
6767
import { useSubmission } from "@solidjs/router";
@@ -90,7 +90,7 @@ function Component() {
9090
}
9191
```
9292

93-
```tsx tab title="JavaScript" {5,9-11}
93+
```tsx tab title="JavaScript" {6,10-12}
9494
// component.jsx
9595
import { Show } from "solid-js";
9696
import { useSubmission } from "@solidjs/router";

0 commit comments

Comments
 (0)