diff --git a/src/Livewire/ContactsForm.php b/src/Livewire/ContactsForm.php index d5f0fe4..9c81b1e 100644 --- a/src/Livewire/ContactsForm.php +++ b/src/Livewire/ContactsForm.php @@ -39,7 +39,7 @@ class ContactsForm extends Component implements Forms\Contracts\HasForms public string $status = 'NEW'; - public function mount(string $departmentSlug = null): void + public function mount(?string $departmentSlug = null): void { if (WindPlugin::get()->hasDepartmentResource()) { if ($departmentSlug !== null) {