Skip to content

Commit 58bd2bc

Browse files
committed
Refactor: Split props to separate lines
1 parent 0f2f06e commit 58bd2bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/InsertPanels.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@ class InsertPanels extends React.Component {
155155
return (
156156
<div className={classes.root}>
157157
{nodeShapeCategories.map((nodeShapeCategory) =>
158-
<ExpansionPanel key={nodeShapeCategory.name} expanded={expanded === nodeShapeCategory} onChange={this.handleChange(nodeShapeCategory)}>
158+
<ExpansionPanel
159+
key={nodeShapeCategory.name}
160+
expanded={expanded === nodeShapeCategory}
161+
onChange={this.handleChange(nodeShapeCategory)}
162+
>
159163
<ExpansionPanelSummary expandIcon={<ExpandMoreIcon />}>
160164
<Typography className={classes.heading}>{nodeShapeCategory.name}</Typography>
161165
</ExpansionPanelSummary>

0 commit comments

Comments
 (0)