Skip to content

Commit 191b054

Browse files
committed
Reword mention of trailing comma
1 parent 179f143 commit 191b054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/dash-renderer/src/utils/TreeContainer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export function validateComponent(componentDefinition: any) {
6161
if (type(componentDefinition) === 'Array') {
6262
throw new Error(
6363
'The children property of a component is a list of lists, instead ' +
64-
'of just a list. Check for trailing commas, or ' +
65-
'check the component that has the following contents ' +
64+
'of just a list. This can sometimes be due to a trailing comma. ' +
65+
'Check the component that has the following contents ' +
6666
'and remove one of the levels of nesting: \n' +
6767
JSON.stringify(componentDefinition, null, 2)
6868
);

0 commit comments

Comments
 (0)