diff --git a/resources/views/filament/components/server-console.blade.php b/resources/views/filament/components/server-console.blade.php index 7929225a8..80b9b9759 100644 --- a/resources/views/filament/components/server-console.blade.php +++ b/resources/views/filament/components/server-console.blade.php @@ -160,7 +160,7 @@ })); }; - $wire.$on('setServerState', ({ state }) => { + Livewire.on('setServerState', ({ state }) => { socket.send(JSON.stringify({ 'event': 'set state', 'args': [state]