Remove unnecessary codes

This commit is contained in:
Yuya Ochiai
2017-03-15 21:57:58 +09:00
parent 6121246d49
commit 7e9bd4b7c9
3 changed files with 57 additions and 209 deletions

View File

@@ -1,13 +1,11 @@
const React = require('react');
class HoveringURL extends React.Component {
render() {
return (
<div style={this.props.style}>
{this.props.targetURL}
</div>
);
}
function HoveringURL(props) {
return (
<div style={props.style}>
{props.targetURL}
</div>
);
}
HoveringURL.propTypes = {