diff --git a/resources/views/livewire/shared/posts/posts.blade.php b/resources/views/livewire/shared/posts/posts.blade.php
index fcf43576..95a91e63 100644
--- a/resources/views/livewire/shared/posts/posts.blade.php
+++ b/resources/views/livewire/shared/posts/posts.blade.php
@@ -143,7 +143,5 @@ class="flex h-36 w-full items-center justify-center transition duration-150 ease
@endforelse
-
- {{ $posts->onEachSide(1)->links() }}
-
+ {{ $posts->onEachSide(1)->links() }}
diff --git a/resources/views/livewire/shared/users/comments.blade.php b/resources/views/livewire/shared/users/comments.blade.php
index c7a747d5..d776ad64 100644
--- a/resources/views/livewire/shared/users/comments.blade.php
+++ b/resources/views/livewire/shared/users/comments.blade.php
@@ -13,7 +13,7 @@
class="space-y-6"
x-data="userComments"
>
- @forelse ($comments as $comment)
+ @foreach ($comments as $comment)
@@ -39,17 +39,7 @@ class="absolute bottom-3 right-3 z-10 flex items-center rounded-lg bg-emerald-60
{{ $comment->created_at->diffForHumans() }}
+ @endforeach
- @empty
-
-
- 目前沒有留言,快點找文章進行留言吧!
-
- @endforelse
-
- @if ($comments->count() > 0)
-
- {{ $comments->onEachSide(1)->links() }}
-
- @endif
+ {{ $comments->onEachSide(1)->links() }}