diff --git a/resources/views/badge.blade.php b/resources/views/badge.blade.php
index 131a3a0..eb41424 100644
--- a/resources/views/badge.blade.php
+++ b/resources/views/badge.blade.php
@@ -1,6 +1,6 @@
{{ $environment }}
diff --git a/src/EnvironmentIndicatorPlugin.php b/src/EnvironmentIndicatorPlugin.php
index 187fb2f..6b77dea 100644
--- a/src/EnvironmentIndicatorPlugin.php
+++ b/src/EnvironmentIndicatorPlugin.php
@@ -69,7 +69,7 @@ public function boot(Panel $panel): void
public function register(Panel $panel): void
{
- $panel->renderHook('panels::global-search.start', function () {
+ $panel->renderHook('panels::global-search.before', function () {
if (! $this->evaluate($this->visible)) {
return '';
}