Unverified Commit 66f0983c authored by Daryll J. Reillo's avatar Daryll J. Reillo Committed by GitHub

Update 06-lazy-loading.mdx: Incorrect filename in Example on "Importing Named Imports" (#52932)

The correct filename is seen on PagesOnly. But on AppOnly, the filename is not correct. It should be "hello" instead of "ClientComponent".

line to change:
from:
import('../components/ClientComponent').then((mod) => mod.Hello)

to:
import('../components/hello').then((mod) => mod.Hello)


line to change:
from:
import('../components/ClientComponent').then((mod) => mod.Hello)

to:
import('../components/hello').then((mod) => mod.Hello)
parent 8e3cd83d
......@@ -156,7 +156,7 @@ export function Hello() {
import dynamic from 'next/dynamic'
const ClientComponent = dynamic(() =>
import('../components/ClientComponent').then((mod) => mod.Hello)
import('../components/hello').then((mod) => mod.Hello)
)
```
......
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