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 f85ceece84..f51ca4db20 100644 --- a/src/routes/solid-router/reference/data-apis/use-submission.mdx +++ b/src/routes/solid-router/reference/data-apis/use-submission.mdx @@ -61,7 +61,7 @@ When the form is submitted, the `submission` object will be updated with the new This allows you to provide feedback to the user that the action is in progress. Once the action is complete, the `pending` property will be set to `false` and the `result` property will be updated with final value. -```tsx tab title="TypeScript" {5,9-11} +```tsx tab title="TypeScript" {6,10-12} // component.tsx import { Show } from "solid-js"; import { useSubmission } from "@solidjs/router"; @@ -90,7 +90,7 @@ function Component() { } ``` -```tsx tab title="JavaScript" {5,9-11} +```tsx tab title="JavaScript" {6,10-12} // component.jsx import { Show } from "solid-js"; import { useSubmission } from "@solidjs/router"; diff --git a/src/routes/solid-start/guides/data-mutation.mdx b/src/routes/solid-start/guides/data-mutation.mdx index 5ece6e3506..79b81476e2 100644 --- a/src/routes/solid-start/guides/data-mutation.mdx +++ b/src/routes/solid-start/guides/data-mutation.mdx @@ -14,7 +14,7 @@ To handle [`