роут для согдания первого админа выведен из авторизации

This commit is contained in:
developer 2026-03-27 10:52:35 +08:00
parent 6a11daeda7
commit 1c6c17f808

View File

@ -13,7 +13,7 @@ class AdminMenu extends Component
public $userId;
public function mount()
{
$this->userId = auth()->user()->id;
$this->userId = auth()->user()?->id;
}
public function render()
{