class == 'joined') { $fanlistings = auth_collective()->joined()->paginate(8); } else if ($this->class == 'owned') { // } return view('livewire.admin.list-fanlistings', [ 'fanlistings' => $fanlistings, ]); } }