Fix /dynamic
in test/.stats-app
(#65543)
Noticed while doing some testing that this route was broken in this application. We use some parts of this app to generate statistics - I'm planning to use more of the routes for benchmarking so I wanted to ensure it was working. Closes NEXT-3371
This commit is contained in:
parent
718d94a21c
commit
bd110c6146
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
import dynamic from 'next/dynamic'
|
||||
|
||||
const DynamicHello = dynamic(() => import('../components/hello'))
|
||||
const DynamicHello = dynamic(() =>
|
||||
import('../components/hello').then((mod) => mod.Hello)
|
||||
)
|
||||
|
||||
const Page = () => (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue