Unverified Commit 967c501c authored by Cheol-Won's avatar Cheol-Won Committed by GitHub

docs: fix typo in CSS Modules Description (#52599)


## Description
Remove unnecessary type in the JSX file. Additionally, this change helps maintain consistency with the examples below

## References
[CSS Modules Description page link](https://nextjs.org/docs/app/building-your-application/styling/css-modules)
parent 22cb1bf0
...@@ -40,11 +40,7 @@ export default function DashboardLayout({ ...@@ -40,11 +40,7 @@ export default function DashboardLayout({
```jsx filename="app/dashboard/layout.js" switcher ```jsx filename="app/dashboard/layout.js" switcher
import styles from './styles.module.css' import styles from './styles.module.css'
export default function DashboardLayout({ export default function DashboardLayout({ children }) {
children,
}: {
children: React.ReactNode,
}) {
return <section className={styles.dashboard}>{children}</section> return <section className={styles.dashboard}>{children}</section>
} }
``` ```
......
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