'render']; public function render() { $this->followers = $this->user->followers; $this->following = $this->user->following; $mods = $this->user->mods()->withWhereHas('latestVersion')->paginate(6); return view('livewire.user.profile', compact('mods')); } public function setSection(string $name) { $this->section = $name; } public function message() { // todo: not implemented yet } public function followUser(User $user) { auth()->user()->follow($user); } public function unfollowUser(User $user) { auth()->user()->unfollow($user); } }