mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
- Fixes https://github.com/vercel/next.js/issues/50307 - Related to https://github.com/vercel/next.js/pull/45601 fix #50307 fix NEXT-1237
13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
import Image from 'next/legacy/image'
|
|
import testPng from '../../images/test.png'
|
|
|
|
export default function LegacyLayout({ children }) {
|
|
return (
|
|
<>
|
|
<h2>app-legacy-layout</h2>
|
|
<Image id="app-legacy-layout" src={testPng} loading="eager" />
|
|
{children}
|
|
</>
|
|
)
|
|
}
|