Skip to content

Commit

Permalink
Obey eslint. No string concat, wow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schäfer committed Jun 14, 2017
1 parent b9815b1 commit fe42b66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SplitPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ class SplitPane extends React.Component {
pane1Style: pane1StyleProps, pane2Style: pane2StyleProps, primary, prefixer, resizerClassName,
resizerStyle, size, split, style: styleProps } = this.props;
const disabledClass = allowResize ? '' : 'disabled';
const resizerClassNamesIncludingDefault = (resizerClassName ? resizerClassName + ' ' + RESIZER_DEFAULT_CLASSNAME : resizerClassName);
const resizerClassNamesIncludingDefault = (resizerClassName ?
`${resizerClassName} ${RESIZER_DEFAULT_CLASSNAME}` : resizerClassName);

const style = Object.assign({},
styleProps || {}, {
Expand Down

0 comments on commit fe42b66

Please sign in to comment.