fix(provier): menyesuaikan view composer

This commit is contained in:
Yoga Pangestu 2026-01-02 16:11:17 +07:00
parent 469fc0e3a1
commit adf1d6ef0f

View File

@ -11,7 +11,7 @@ class ViewServiceProvider extends ServiceProvider
{ {
public function boot(): void public function boot(): void
{ {
View::composer('*', function ($view) { View::composer(['components.layouts.*', 'livewire.*'], function ($view) {
$sidebar = [ $sidebar = [
[ [
'heading' => 'Dasbor', 'heading' => 'Dasbor',