From 08c98e8345a5e1e3efba7040711b88d4c6da7ecf Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Sat, 7 Jan 2023 12:40:18 +0600 Subject: [PATCH] Update InteractsWithActions.php --- packages/actions/src/Concerns/InteractsWithActions.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/actions/src/Concerns/InteractsWithActions.php b/packages/actions/src/Concerns/InteractsWithActions.php index e449b17502..45c4073704 100644 --- a/packages/actions/src/Concerns/InteractsWithActions.php +++ b/packages/actions/src/Concerns/InteractsWithActions.php @@ -260,10 +260,6 @@ trait InteractsWithActions return $action; } - if (! method_exists($this, $name)) { - throw new Exception("Action [$name] is not registered within a [$name()] method on the Livewire component."); - } - $action = Action::configureUsing( Closure::fromCallable([$this, 'configureAction']), fn () => $this->{$name}(),