$key = "teaser";
return Action::make('Übernehmen')
->action(function ($state, $set) use ($key) {
Notification::make()
->title("AI Content \"$key\" übernommen ")
->success()
->send();
return $set($key, $state);
});
$key = "teaser";
return Action::make('Übernehmen')
->action(function ($state, $set) use ($key) {
Notification::make()
->title("AI Content \"$key\" übernommen ")
->success()
->send();
return $set($key, $state);
});