User history #1846
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import { selectCurrentParams, makeSelectCurrentParam } from 'lbry-redux';
|
||||||
import UserHistoryPage from './view';
|
import UserHistoryPage from './view';
|
||||||
|
|
||||||
const select = state => {
|
const select = state => {
|
||||||
const paramPage = makeSelectCurrentParam('page')(state) || 0;
|
const paramPage = Number(makeSelectCurrentParam('page')(state) || 0);
|
||||||
return {
|
return {
|
||||||
pageCount: selectHistoryPageCount(state),
|
pageCount: selectHistoryPageCount(state),
|
||||||
page: paramPage,
|
page: paramPage,
|
||||||
|
|
Loading…
Reference in a new issue