diff --git a/README.md b/README.md index f8af48c..5e54987 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ public function panel(Panel $panel): Panel ... ->plugins([ FilamentLanguageSwitchPlugin::make() - ->renderHookName('panels::global-search.before'), + ->renderHookName('panels::global-search.end'), ]) ... } diff --git a/src/FilamentLanguageSwitchPlugin.php b/src/FilamentLanguageSwitchPlugin.php index dc35ac7..c897c5b 100755 --- a/src/FilamentLanguageSwitchPlugin.php +++ b/src/FilamentLanguageSwitchPlugin.php @@ -13,7 +13,7 @@ class FilamentLanguageSwitchPlugin implements Plugin { use Configurable; - protected string $renderHookName = 'panels::global-search.after'; + protected string $renderHookName = 'panels::global-search.end'; public static function make(): static {