userHasTransport = \Auth::user()->hasBrowserPushTransport(); } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { return view('components.notification-subscription-status'); } }