Skip to content

Commit 15f743f

Browse files
committed
no jsx fix
1 parent 62f0750 commit 15f743f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ var Counter = React.createClass({
3939
},
4040

4141
render: function() {
42-
return (
43-
<span className='counter'>
44-
{Math.round(this.state.value)}
45-
</span>
46-
);
42+
return React.DOM.span({ className: 'counter' }, Math.round(this.state.value));
4743
}
4844
});
4945

0 commit comments

Comments
 (0)