fix type error

This commit is contained in:
Travis Eden 2018-08-01 12:25:13 -04:00 committed by Sean Yesmunt
parent 9bd0a32b99
commit 245f5929c8

View file

@ -5,7 +5,7 @@ import { selectCurrentParams, makeSelectCurrentParam } from 'lbry-redux';
import UserHistoryPage from './view';
const select = state => {
const paramPage = makeSelectCurrentParam('page')(state) || 0;
const paramPage = Number(makeSelectCurrentParam('page')(state) || 0);
return {
pageCount: selectHistoryPageCount(state),
page: paramPage,