Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions dash/development/base_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,6 @@ def __init__(self, **kwargs):
)
)

if k != "children" and isinstance(v, Component):
raise TypeError(
error_string_prefix
+ " detected a Component for a prop other than `children`\n"
+ "Did you forget to wrap multiple `children` in an array?\n"
+ "Prop {} has value {}\n".format(k, repr(v))
)

if k == "id":
if isinstance(v, dict):
for id_key, id_val in v.items():
Expand Down