diff --git a/resources/views/filament/components/server-console.blade.php b/resources/views/filament/components/server-console.blade.php index 7929225a8c..80b9b9759a 100644 --- a/resources/views/filament/components/server-console.blade.php +++ b/resources/views/filament/components/server-console.blade.php @@ -160,7 +160,7 @@ class="w-full focus:outline-none focus:ring-0 border-none" })); }; - $wire.$on('setServerState', ({ state }) => { + Livewire.on('setServerState', ({ state }) => { socket.send(JSON.stringify({ 'event': 'set state', 'args': [state]