Fix(example) : Image missing width property in with-redux example (#63546)

- Fixes https://github.com/vercel/next.js/issues/63542

Co-authored-by: yelipei <yelipei@qianxin.com>
Co-authored-by: Steven <steven@ceriously.com>
This commit is contained in:
FoSuCloud 2024-03-22 02:24:21 +08:00 committed by GitHub
parent 04f5781c1b
commit 77b21001cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,13 @@ export default function RootLayout({ children }: Props) {
<Nav />
<header className={styles.header}>
<Image src="/logo.svg" className={styles.logo} alt="logo" />
<Image
src="/logo.svg"
className={styles.logo}
alt="logo"
width={100}
height={100}
/>
</header>
<main className={styles.main}>{children}</main>