diff --git a/app/Livewire/CreateEditBot.php b/app/Livewire/CreateEditBot.php index 13dacb1..ef7c416 100644 --- a/app/Livewire/CreateEditBot.php +++ b/app/Livewire/CreateEditBot.php @@ -71,8 +71,7 @@ class CreateEditBot extends Component public function updatedClass($value) { - $this->class = $this->classList[$value]; - $this->configSchema = $this->classList[$value]::configSchema(); + $this->configSchema = $this->class::configSchema(); } protected function rules(): array