Skip to content

Commit

Permalink
Merge pull request #642 from pinkary-project/feat/simple-paginate-in-…
Browse files Browse the repository at this point in the history
…trending

Refactor TrendingQuestions to use simplePaginate instead of paginate
  • Loading branch information
nunomaduro authored Sep 20, 2024
2 parents 82ac319 + 94944a4 commit f202048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Livewire/Home/TrendingQuestions.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class TrendingQuestions extends Component
*/
public function render(Request $request): View
{
$questions = (new TrendingQuestionsFeed())->builder()->paginate($this->perPage);
$questions = (new TrendingQuestionsFeed())->builder()->simplePaginate($this->perPage);

return view('livewire.home.trending-questions', [
'trendingQuestions' => $questions,
Expand Down

0 comments on commit f202048

Please sign in to comment.