forked from eatvio/eatvio-infra
04 10 2023 snapshot
This commit is contained in:
18
app/Livewire/BlogPost/Comment/Show.php
Normal file
18
app/Livewire/BlogPost/Comment/Show.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire\BlogPost\Comment;
|
||||
|
||||
use Livewire\Component;
|
||||
use App\Models\BlogPost;
|
||||
|
||||
class Show extends Component
|
||||
{
|
||||
public BlogPost $blogPost;
|
||||
|
||||
protected $listeners = ['commentAdded' => '$refresh'];
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.blog-post.comment.show');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user