Skip to content

Commit 47441a0

Browse files
committed
Prettier
1 parent 793c4a9 commit 47441a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/containers/Panel.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ export default class Panel extends Component {
9090
if (Array.isArray(children)) {
9191
children = children.map((child, index) => {
9292
if (child.type.displayName.indexOf('Fold') >= 0) {
93-
return cloneElement(child, {...child.props, foldIndex: index, key: index});
93+
return cloneElement(child, {
94+
...child.props,
95+
foldIndex: index,
96+
key: index,
97+
});
9498
}
9599
return child;
96100
});

0 commit comments

Comments
 (0)