Simplify computed propery

This commit is contained in:
Marcus Moore 2024-07-17 17:10:12 -07:00
parent 81bffccf01
commit 199e68ff29
No known key found for this signature in database

View file

@ -564,11 +564,7 @@ class Importer extends Component
#[Computed] #[Computed]
public function activeFile() public function activeFile()
{ {
if ($this->activeFileId) { return Import::find($this->activeFileId);
return Import::find($this->activeFileId);
}
return null;
} }
public function render() public function render()