Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Another fix for imported components in regular views
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Jan 31, 2024
1 parent d5848ba commit aa58cae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/BladeViewExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,6 @@ protected function getImportedComponents(): array
'dynamic' => Collection::make([]),
];

if (! $this->isComponent()) {
return $this->importedComponents;
}

Collection::make($this->scriptParser->getImports())
->keys()
->each(function (string $import) {
Expand Down

0 comments on commit aa58cae

Please sign in to comment.