forked from eatvio/eatvio-infra
registration fix and refactoring
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Livewire\BlogPost;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Services\BlogPost\ListViewService;
|
||||
use Illuminate\View\View;
|
||||
use Livewire\Component;
|
||||
@@ -18,7 +17,7 @@ class ListView extends Component
|
||||
|
||||
public string $tag = '';
|
||||
|
||||
public User|null $author = null;
|
||||
public ?int $author = null;
|
||||
|
||||
protected array $queryString = [
|
||||
'search' => ['except' => ''],
|
||||
|
||||
Reference in New Issue
Block a user