validate(); $updateUserAvatar->execute(auth('web')->user(), $this->file); $this->dispatch('hide-update-avatar-modal'); $this->dispatch('profile-updated'); } public function hide(): void { $this->resetValidation(); $this->dispatch('filepond-reset-file'); } };