auth()->user() inside AdminPanel Provider
When i use this dd(auth()->user());
inside of the admin panel provider i have this error.
Target class [hash] does not exist.
how it's possible to use this
1 Reply
you need to call it in closure
fn()=>dd(auth()->user())