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:
Ethan Arrowood 2024-05-09 10:09:24 -06:00 committed by GitHub
parent 718d94a21c
commit bd110c6146
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = () => (
<>