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