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:
parent
04f5781c1b
commit
77b21001cc
1 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue