diff --git a/src/Component.php b/src/Component.php index b68cbea..fd4b733 100644 --- a/src/Component.php +++ b/src/Component.php @@ -57,7 +57,7 @@ public function render(): mixed : Facades\View::make('volt-livewire::'.$alias, $data); if ($layout) { - $view->layout($layout); + $view->layout($layout, $data); } if ($title) {