Files
eatvio-infra/app/Livewire/BlogPost/Comment/Show.php

23 lines
398 B
PHP

<?php
namespace App\Livewire\BlogPost\Comment;
use App\Models\BlogPost;
use Illuminate\View\View;
use Livewire\Component;
class Show extends Component
{
public BlogPost $blogPost;
public function render(): View
{
return view('livewire.blog-post.comment.show');
}
protected function getListeners(): array
{
return ['commentAdded' => '$refresh'];
}
}