@auth {{-- @if ($comment->hasParent() && auth()->id() != $comment->user_id) @endif --}} @if (auth()->id() != $comment->user_id) @if(Auth::user()->hasRole('admin')) @endif @endif @can ('update', $comment)
@endcan @can ('destroy', $comment) @endcan @endauth

{{ $comment->user->fullName() }} {{ $comment->presenter()->relativeCreatedAt() }}

{!! $comment->presenter()->markdownBody() !!}

@if ($isEditing)
@error('editState.body')

{{ $message }}

@enderror
@endif
@if ($isReplying)
@error('replyState.body')

{{ $message }}

@enderror
@endif