Prevent an action from sending a backend request

Hi. I've got an action that's just used for firing some JS (which I've added using x-on:click in extraAttributes ). I need to stop it sending a request to the backend. Any ideas how I could do that?
Solution
Could also just disable the wire:click with -> livewireClickHandlerEnabled(false)
Was this page helpful?