Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored and github-actions[bot] committed Oct 18, 2024
1 parent 438d50f commit 846417b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Layout/Concerns/WithScroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function fetch(): void
{
$page = $this->getScrollPage();

$limit = $this->getScrollPageLimit();
$limit = $this->getScrollPageLimit();

if (! $this->hasMorePages() || (is_numeric($limit) && $page > $limit)) {
return;
Expand Down Expand Up @@ -97,7 +97,7 @@ protected function fillScrollItems(?int $page = null): void

$pages = $this->getScrollPages($page);

$limit = $this->getScrollPageLimit();
$limit = $this->getScrollPageLimit();

$pages->each(function (int $page) use ($builder, $limit) {
if (! $this->hasMorePages() || (is_numeric($limit) && $page > $limit)) {
Expand Down

0 comments on commit 846417b

Please sign in to comment.