diff --git a/app/Http/Livewire/Dashboard.php b/app/Http/Livewire/Dashboard.php index 3eb9ccccc..345f8a489 100644 --- a/app/Http/Livewire/Dashboard.php +++ b/app/Http/Livewire/Dashboard.php @@ -10,12 +10,12 @@ class Dashboard extends Component { public $projects = []; public $servers = []; - protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder']; + // protected $listeners = ['echo:public,TestEvent' => 'notifyNewOrder']; - public function notifyNewOrder() - { - $this->emit('success', 'New order received!'); - } + // public function notifyNewOrder() + // { + // $this->emit('success', 'New order received!'); + // } public function mount() { $this->servers = Server::ownedByCurrentTeam()->get();