From ce4fa2497be13a39c5a97f3b725a034d67d6e51f Mon Sep 17 00:00:00 2001 From: NursultanIITU Date: Mon, 18 Sep 2023 18:47:01 +0600 Subject: [PATCH] fix: comment FilamentLanguageSwitchPlugin --- config/admin-kit.php | 4 ++-- src/Providers/FilamentServiceProvider.php | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/admin-kit.php b/config/admin-kit.php index cb30313..dfa1cb8 100644 --- a/config/admin-kit.php +++ b/config/admin-kit.php @@ -1,7 +1,7 @@ [ - FilamentLanguageSwitchPlugin::make(), +// FilamentLanguageSwitchPlugin::make(), ], 'middleware' => [ diff --git a/src/Providers/FilamentServiceProvider.php b/src/Providers/FilamentServiceProvider.php index 6890a7d..91311e6 100644 --- a/src/Providers/FilamentServiceProvider.php +++ b/src/Providers/FilamentServiceProvider.php @@ -4,17 +4,17 @@ use Filament\Panel; use Filament\PanelProvider; -use Livewire\LivewireServiceProvider; +//use Livewire\LivewireServiceProvider; class FilamentServiceProvider extends PanelProvider { - public function register(): void - { - // нужно чтобы плагины содержащие Livewire корректно сели - $this->app->registerDeferredProvider(LivewireServiceProvider::class); - - parent::register(); - } +// public function register(): void +// { +// // нужно чтобы плагины содержащие Livewire корректно сели +// $this->app->registerDeferredProvider(LivewireServiceProvider::class); +// +// parent::register(); +// } public function panel(Panel $panel): Panel {