diff --git a/src/Http/Livewire/Post.php b/src/Http/Livewire/Post.php index 943a919..6811ef7 100644 --- a/src/Http/Livewire/Post.php +++ b/src/Http/Livewire/Post.php @@ -11,7 +11,7 @@ class Post extends Component public function mount($slug) { - $this->post = postModel::whereSlug($slug)->firstOrFail();; + $this->post = postModel::whereSlug($slug)->firstOrFail(); } public function render()