What do I return in an action action in a table?

I've got a custom action as below: Tables\Actions\Action::make('Admit') ->action(fn (App $app) => $app->admit()) The admit() method updates some internal data but doesn't return anything. The front-end hangs indefinitely and the console logs this error: Unhandled Promise Rejection: SyntaxError: JSON Parse error: Unexpected identifier "Array" Am I supposed to return something in a specific format?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server