diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 9990c7ec8..36de3ccaa 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -68,7 +68,7 @@ export class Home extends React.Component, IHomeState> { updatePageSize() { this.setState({ - pageSize: window.innerHeight - (window.innerWidth > 540 ? 361 : 320) / 52 + pageSize: Math.floor(window.innerHeight - (window.innerWidth > 540 ? 361 : 320) / 52) }); }