Unverified Commit 53c08431 authored by Mohd. Nisab's avatar Mohd. Nisab Committed by GitHub

Fixed wrong highlight in Building your application > authentication >…

Fixed wrong highlight in Building your application > authentication > useFormStatus hook example  (#65400)

Wrong line highlight for useFormStatus example in authentication module

---------
Co-authored-by: 's avatarsamcx <sam@vercel.com>
parent 93c0e64a
......@@ -290,7 +290,7 @@ export function SignupForm() {
You can also use the `useFormStatus()` hook to handle the pending state on form submission:
```tsx filename="app/ui/signup-form.tsx" highlight={7} switcher
```tsx filename="app/ui/signup-form.tsx" highlight={6} switcher
'use client'
import { useFormStatus, useFormState } from 'react-dom'
......@@ -306,7 +306,7 @@ export function SignupButton() {
}
```
```jsx filename="app/ui/signup-form.js" highlight={7} switcher
```jsx filename="app/ui/signup-form.js" highlight={6} switcher
'use client'
import { useFormStatus, useFormState } from 'react-dom'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment