diff --git a/Component.php b/Component.php index 150129ca6..dcbe764c5 100644 --- a/Component.php +++ b/Component.php @@ -143,6 +143,10 @@ public function resolveView() } $resolver = function ($view) { + if ($view instanceof ViewContract) { + return $view; + } + return $this->extractBladeViewFromString($view); };