Skip to content

Commit 83b345c

Browse files
committed
fix: add slug property to PostDetail component
1 parent a76bc92 commit 83b345c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/Livewire/Blog/PostDetail.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
class PostDetail extends Component
88
{
9+
public string $slug;
10+
911
public function render()
1012
{
1113
return view('livewire.blog.post-detail');

0 commit comments

Comments
 (0)