Update client.mdx
14ff3237
Replace render with return
1 file(s) · +1 −1
Replace render with return
| 163 | 163 | function Post(){ |
|
| 164 | 164 | const { slug } = useParams() |
|
| 165 | 165 | ||
| 166 | - | render ( |
|
| 166 | + | return ( |
|
| 167 | 167 | <> |
|
| 168 | 168 | <h1>Post {slug}</h1> |
|
| 169 | 169 | </> |