1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

fix typo in dynamic import with multiple modules (#2344)

This commit is contained in:
Colder Xihk 2017-06-23 01:11:54 +08:00 committed by Tim Neutkens
parent 8d0fdc09f7
commit 3a9c419160

View file

@ -664,7 +664,7 @@ import dynamic from 'next/dynamic'
const HelloBundle = dynamic({
modules: (props) => {
const components {
const components = {
Hello1: import('../components/hello1'),
Hello2: import('../components/hello2')
}