File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ export default function dynamicComponent (p, o) {
13
13
} else {
14
14
// Now we are trying to use the modules and render fields in options to load modules.
15
15
if ( ! p . modules || ! p . render ) {
16
- const errorMessage = 'Options to `next/dynamic` should contains `modules` and `render` fields. '
16
+ const errorMessage = '`next/dynamic` options should contain `modules` and `render` fields'
17
17
throw new Error ( errorMessage )
18
18
}
19
19
20
20
if ( o ) {
21
- const errorMessage = 'Include options in the first argument which contains `modules` and `render` fields. '
21
+ const errorMessage = 'Add additional `next/dynamic` options to the first argument containing the `modules` and `render` fields'
22
22
throw new Error ( errorMessage )
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments