mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
9 lines
376 B
Plaintext
9 lines
376 B
Plaintext
x next/dynamic options must be an object literal.
|
|
| Read more: https://nextjs.org/docs/messages/invalid-dynamic-options-type
|
|
,-[input.js:4:1]
|
|
3 | const options = { loading: () => <p>...</p>, ssr: false }
|
|
4 | const DynamicComponentWithCustomLoading = dynamic(
|
|
: ^^^^^^^
|
|
5 | () => import('../components/hello'),
|
|
`----
|