Fix missing tile in full grid (#1682)

This commit is contained in:
Rave | 図書館猫 2022-06-13 18:27:04 +02:00 committed by GitHub
parent d3365d69f9
commit cf53fdbc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,7 +239,8 @@ export default function ClaimList(props: Props) {
<React.Fragment key={uri}> <React.Fragment key={uri}>
{inj && inj} {inj && inj}
{(index < tileUris.length - uriBuffer.current.length || {(index < tileUris.length - uriBuffer.current.length ||
(pageSize && index < pageSize - uriBuffer.current.length)) && ( (pageSize && index < pageSize - uriBuffer.current.length) ||
(pageSize && tileUris.length % pageSize !== 0)) && (
<ClaimPreviewTile <ClaimPreviewTile
uri={uri} uri={uri}
showHiddenByUser={showHiddenByUser} showHiddenByUser={showHiddenByUser}