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