Skip to content

Commit

Permalink
Merge pull request #641 from pinkary-project/feat/remove-unwanted-job-
Browse files Browse the repository at this point in the history
Refactor QuestionsFollowing.php to remove unused code
  • Loading branch information
nunomaduro authored Sep 20, 2024
2 parents f202048 + 3065799 commit fbe855d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Livewire/Home/QuestionsFollowing.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace App\Livewire\Home;

use App\Jobs\IncrementViews;
use App\Livewire\Concerns\HasLoadMore;
use App\Models\User;
use App\Queries\Feeds\QuestionsFollowingFeed;
Expand All @@ -24,8 +23,6 @@ public function render(): View

$questions = (new QuestionsFollowingFeed($user))->builder()->simplePaginate($this->perPage);

IncrementViews::dispatchUsingSession($questions->getCollection());

return view('livewire.home.questions-following', [
'followingQuestions' => $questions,
]);
Expand Down

0 comments on commit fbe855d

Please sign in to comment.