From a6d5f3038c0fae564a4f9d1f68491174db9383de Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Sep 2023 17:28:58 +0200 Subject: [PATCH] fix: help uri --- app/Http/Livewire/Help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/Help.php b/app/Http/Livewire/Help.php index d467a11f9..f05b81010 100644 --- a/app/Http/Livewire/Help.php +++ b/app/Http/Livewire/Help.php @@ -19,7 +19,7 @@ class Help extends Component ]; public function mount() { - $this->path = Route::current()->uri(); + $this->path = Route::current()?->uri() ?? null; if (isDev()) { $this->description = "I'm having trouble with {$this->path}"; $this->subject = "Help with {$this->path}";