diff --git a/app/Livewire/Charts/ServerCpu.php b/app/Livewire/Charts/ServerCpu.php index 50a7e115e5..5f3283009a 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 15a2345f52..911f267f63 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 eaa2d3c086..8ecb65b4f4 100644 --- a/resources/views/livewire/charts/server-cpu.blade.php +++ b/resources/views/livewire/charts/server-cpu.blade.php @@ -1,4 +1,4 @@ -