Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix: use setPage instead of assigning page variable (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo committed Sep 28, 2021
1 parent 6f98927 commit 9c3d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Livewire/Concerns/HasPagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ trait HasPagination
public function gotoPage(int $page): void
{
$this->emit('pageChanged');
$this->page = $page;
$this->setPage($page);
}
}

0 comments on commit 9c3d401

Please sign in to comment.