Skip to content

Commit

Permalink
Changes exception message when list layout contains a non-string and …
Browse files Browse the repository at this point in the history
…non-component
  • Loading branch information
leeagustin committed Jun 26, 2024
1 parent af89e96 commit d9d963f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dash/_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def _validate_id(comp):
_validate(component)
else:
raise exceptions.NoLayoutException(
"List of components as layout must be a list of strings and components only."
"Only strings and components are allowed in a list layout."
)
else:
_validate(layout_value)
Expand Down

0 comments on commit d9d963f

Please sign in to comment.