env = $this->site->getEnv(); } public function save(): void { app(UpdateEnv::class)->update($this->site, $this->all()); session()->flash('status', 'updating-env'); $this->dispatch('$refresh')->to(Deploy::class); } public function render(): View { return view('livewire.application.env'); } }