pxlrbt / filament-spotlight

Quickly navigate your Filament pages
MIT License
239 stars 31 forks source link

Update 0.3.1 breaks the app if using Filament guard #2

Closed buzkall closed 2 years ago

buzkall commented 2 years ago

When using Filament guard, checking auth()->check() throws an exception:

method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given

It can be solved using: Filament::auth()->check()

buzkall commented 2 years ago

I've created PR #3

pxlrbt commented 2 years ago

Thanks for your PR