diff --git a/.eslintrc b/.eslintrc index e229935..a085374 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,6 +10,7 @@ "no-else-return": [0], "space-infix-ops": [0], "react/prefer-es6-class": [0], + "react/prefer-stateless-function": [0], }, "globals": { "__PREFIX_LINKS__": true, diff --git a/html.js b/html.js index 1c7af69..5e5ecc3 100644 --- a/html.js +++ b/html.js @@ -19,20 +19,20 @@ export default class Html extends React.Component { return ( - - + + {this.props.title} - + {cssLink}
-