Skip to content

Commit 0d96a9f

Browse files
committed
style: remove trailing spaces
1 parent 5e787d4 commit 0d96a9f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/extendReactClass.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export default (Component: Object, defaultStyles: Object, options: Object) => {
1818
let styles;
1919

2020
const hasDefaultstyles = _.isObject(defaultStyles);
21-
21+
2222
let renderResult;
23-
23+
2424
if (this.props.styles || hasDefaultstyles) {
2525
const props = Object.assign({}, this.props);
2626

@@ -37,28 +37,28 @@ export default (Component: Object, defaultStyles: Object, options: Object) => {
3737
value: styles,
3838
writable: false
3939
});
40-
40+
4141
const originalProps = this.props;
42-
42+
4343
let renderIsSuccessful = false;
4444

4545
try {
4646
this.props = props;
47-
47+
4848
renderResult = super.render();
49-
49+
5050
renderIsSuccessful = true;
5151
} finally {
5252
this.props = originalProps;
5353
}
54-
54+
5555
// @see https://github.com/facebook/react/issues/14224
5656
if (!renderIsSuccessful) {
5757
renderResult = super.render();
5858
}
5959
} else {
6060
styles = {};
61-
61+
6262
renderResult = super.render();
6363
}
6464

0 commit comments

Comments
 (0)