docs: fix prettier error (#51182)
This commit is contained in:
parent
0f5b1917df
commit
272ffffd59
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
);
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue