fixed minor issues

This commit is contained in:
Matthias Hannig 2018-10-01 19:11:06 +02:00
parent dd82985442
commit 4086594676
2 changed files with 1 additions and 3 deletions

View File

@ -12,9 +12,7 @@ export default class RelativeTime extends React.Component {
return null;
}
let time = false;
if (this.props.value instanceof moment) {
time = this.props.value;
} else {

View File

@ -9,7 +9,7 @@ import {makeLinkProps} from './urls'
const PageLink = function(props) {
const linkPage = parseInt(props.page);
const linkPage = parseInt(props.page, 10);
const label = props.label || (linkPage + 1);
if (props.disabled) {