@if($isEditing) @include('livewire.partials.comment-form',[ 'method'=>'editComment', 'state'=>'editState', 'inputId'=> 'reply-comment', 'inputLabel'=> 'Your Reply', 'button'=>'Edit Comment' ]) @else

{{$comment->user->name}}{{$comment->user->username}}

@if($showOptions)
@endif

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

@auth @if($comment->isParent())
@include('livewire.partials.loader')
@endif @endauth @if($comment->children->count())
@include('livewire.partials.loader')
@endif
@can('update',$comment) @endcan @can('destroy',$comment) @endcan
@endif @if($isReplying) @include('livewire.partials.comment-form',[ 'method'=>'postReply', 'state'=>'replyState', 'inputId'=> 'reply-comment', 'inputLabel'=> 'Your Reply', 'button'=>'Post Reply' ]) @endif @if($hasReplies)
@foreach($comment->children as $child) @endforeach
@endif