patchFileId = $patchFileId; $this->patchFile = TabPatchFile::where('fid', $this->patchFileId)->first(); $this->isOpenEditCode = true; } public function closeModal() { $this->isOpenEditCode = false; } public function updateCode() { } public function render() { return view('livewire.pages.patch.modal-edit-code'); } }