addAction function called on page load

When I have a repeater with an addAction function. When I load the page with the repeater on it the addAction code is executed. I would expect this to be called only when pressing the action button.

            ->addAction(function ($livewire, $component) { dump('test');})


Any suggestions?
Thanks.
Was this page helpful?