docs: fix prettier error (#51182)

This commit is contained in:
Jiachi Liu 2023-06-12 18:31:53 +02:00 committed by GitHub
parent 0f5b1917df
commit 272ffffd59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,16 +110,16 @@ export async function myAction() {
```
```jsx filename="app/client-component.jsx" highlight={1}
"use client"
'use client'
import { myAction } from './actions';
import { myAction } from './actions'
export default function ClientComponent() {
return (
<form action={myAction}>
<button type="submit">Add to Cart</button>
</form>
);
)
}
```