Unverified Commit 272ffffd authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

docs: fix prettier error (#51182)

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