Skip to content

Commit 0befaca

Browse files
committed
Change layout loading
1 parent 9e4e640 commit 0befaca

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Livewire/LivePreviewScreen.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ public function mount()
2020
$this->refreshPreview();
2121
}
2222

23-
#[Layout('layouts.app', [
24-
'titleForLayout' => 'Live Preview',
25-
'hasBgPattern' => false,
26-
'bgColor' => 'bg-gradient-to-light',
27-
])]
2823
public function render()
2924
{
3025
return view($this->view)
26+
->layout('layouts.app', $this->data)
3127
->with($this->data);
3228
}
3329

0 commit comments

Comments
 (0)