fix type error
This commit is contained in:
parent
9bd0a32b99
commit
245f5929c8
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue