Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 11, 2022
1 parent 85a4650 commit 7c6db00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Compilers/ComponentTagCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function componentClass(string $component)
return $guess;
}

if (Str::startsWith($component, 'mail::') && $viewFactory->exists($component)) {
if (Str::startsWith($component, 'mail::')) {
return $component;
}

Expand Down

0 comments on commit 7c6db00

Please sign in to comment.