fixed minor issues
This commit is contained in:
parent
dd82985442
commit
4086594676
@ -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 {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user