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