fix invite page crashing on large screen
This commit is contained in:
parent
489a4855e9
commit
2abd1ca6c2
1 changed files with 1 additions and 2 deletions
|
@ -131,8 +131,7 @@ function ClaimListDiscover(props: Props) {
|
|||
const channelIdsParam = channelIdsInUrl ? channelIdsInUrl.split(',') : channelIds;
|
||||
const feeAmountParam = urlParams.get('fee_amount') || feeAmount || CS.FEE_AMOUNT_ANY;
|
||||
const originalPageSize = pageSize || CS.PAGE_SIZE;
|
||||
const dynamicPageSize = isLargeScreen ? originalPageSize * (3 / 2) : originalPageSize;
|
||||
|
||||
const dynamicPageSize = isLargeScreen ? Math.ceil(originalPageSize * (3 / 2)) : originalPageSize;
|
||||
let orderParam = orderBy || urlParams.get(CS.ORDER_BY_KEY) || defaultOrderBy;
|
||||
if (!orderParam) {
|
||||
if (history.action === 'POP') {
|
||||
|
|
Loading…
Reference in a new issue