create( auth()->user(), $this->all() ); $key->deployTo($this->server); $this->emitTo(ServerKeysList::class, '$refresh'); $this->dispatchBrowserEvent('added', true); } public function render(): View { return view('livewire.server-ssh-keys.add-new-key'); } }