authFollowIds = collect(); $authUser = auth()->user(); if ($authUser) { $this->authFollowIds = $authUser->following()->pluck('following_id'); } $this->dispatch('auth-follow-change'); } /** * Render the component. */ public function render(): View { return view('livewire.user.follow-cards'); } }