fix: help uri

This commit is contained in:
Andras Bacsai 2023-09-14 17:28:58 +02:00
parent 4d49132821
commit a6d5f3038c

View File

@ -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}";