mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update InteractsWithActions.php
This commit is contained in:
@@ -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}(),
|
||||
|
||||
Reference in New Issue
Block a user