next.js icon indicating copy to clipboard operation
next.js copied to clipboard

docs(javascript): fix wrong javascript code in `script.mdx`

Open lumirlumir opened this issue 4 months ago • 2 comments

📚 Improving Documentation

Hello, I've fixed an wrong JavaScript code in docs/02-app/02-api-reference/01-components/script.mdx

There's no need to use type declaration in JavaScript code. So I deleted it.

Additionally, I've wrapped some code related keywords in inline code blocks.

lumirlumir avatar Oct 19 '24 08:10 lumirlumir