diff --git a/app/Livewire/Charts/ServerCpu.php b/app/Livewire/Charts/ServerCpu.php index 50a7e115e..5f3283009 100644 --- a/app/Livewire/Charts/ServerCpu.php +++ b/app/Livewire/Charts/ServerCpu.php @@ -24,11 +24,6 @@ class ServerCpu extends Component return view('livewire.charts.server-cpu'); } - public function mount() - { - $this->loadData(); - } - public function pollData() { if ($this->poll || $this->interval <= 10) { diff --git a/app/Livewire/Charts/ServerMemory.php b/app/Livewire/Charts/ServerMemory.php index 15a2345f5..911f267f6 100644 --- a/app/Livewire/Charts/ServerMemory.php +++ b/app/Livewire/Charts/ServerMemory.php @@ -34,11 +34,6 @@ class ServerMemory extends Component } } - public function mount() - { - $this->loadData(); - } - public function loadData() { try { diff --git a/resources/views/livewire/charts/server-cpu.blade.php b/resources/views/livewire/charts/server-cpu.blade.php index eaa2d3c08..8ecb65b4f 100644 --- a/resources/views/livewire/charts/server-cpu.blade.php +++ b/resources/views/livewire/charts/server-cpu.blade.php @@ -1,4 +1,4 @@ -