Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit 2a5cf6f

Browse files
committed
Small cleanup
1 parent 6ca0fa4 commit 2a5cf6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ export default class DatGui extends Component {
5252
}
5353

5454
render() {
55-
const { style = {} } = this.props;
56-
const className = cx('react-dat-gui', this.props.className);
55+
const { style, className } = this.props;
56+
const classNames = cx('react-dat-gui', className);
5757

5858
return (
59-
<div className={className} style={style}>
59+
<div className={classNames} style={style}>
6060
<ul className="dg main">{this.renderChildren()}</ul>
6161
</div>
6262
);

0 commit comments

Comments
 (0)