updated readNext to es6
This commit is contained in:
parent
7706b42e01
commit
0a4ebe5e10
1 changed files with 3 additions and 3 deletions
|
|
@ -3,8 +3,8 @@ import { Link } from 'react-router';
|
|||
import { prune, include as includes } from 'underscore.string';
|
||||
import find from 'lodash/collection/find';
|
||||
|
||||
module.exports = React.createClass({
|
||||
render: function() {
|
||||
export default class extends React.Component {
|
||||
render() {
|
||||
var body, fontSizeToMS, html, nextPost, readNext, ref, rhythm;
|
||||
ref = this.props.typography, rhythm = ref.rhythm, fontSizeToMS = ref.fontSizeToMS;
|
||||
readNext = this.props.post.readNext;
|
||||
|
|
@ -53,4 +53,4 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue