diff --git a/app/Livewire/UserComments.php b/app/Livewire/UserComments.php index 3fcc377..05ac74c 100644 --- a/app/Livewire/UserComments.php +++ b/app/Livewire/UserComments.php @@ -38,7 +38,7 @@ class UserComments extends Component $comments = Comment::where('user_id', $this->model->id) ->when($this->commentSearch != '', fn ($query) => $query->where('body', 'like', '%'.$this->commentSearch.'%')) ->orderBy($orderby, $orderdirection) - ->paginate(10); + ->paginate(6); return view('livewire.user-comments', [ 'comments' => $comments, diff --git a/resources/views/livewire/user-comments.blade.php b/resources/views/livewire/user-comments.blade.php index 59078f6..5d2de66 100644 --- a/resources/views/livewire/user-comments.blade.php +++ b/resources/views/livewire/user-comments.blade.php @@ -1,130 +1,101 @@ -
No results
+(╥﹏╥)
+