Skip to content

Commit 4d96e0d

Browse files
committed
new line, new caps in children array error message
1 parent 53a82b8 commit 4d96e0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/development/base_component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def __init__(self, **kwargs):
9898
if k != "children" and isinstance(v, Component):
9999
raise TypeError(
100100
"Component detected as a prop other than `children`\n" +
101-
"Did you forget to wrap multiple `children` in an array?" +
102-
"prop {} has value {}\n".format(k, repr(v))
101+
"Did you forget to wrap multiple `children` in an array?\n" +
102+
"Prop {} has value {}\n".format(k, repr(v))
103103
)
104104

105105
setattr(self, k, v)

0 commit comments

Comments
 (0)