
I followed the best practices. But I still get this error message.
Creating actions from procedures:
When creating server actions from procedures, create the procedure first and then chain the createServerAction() method:
good-example.ts
const procedure = createServerActionProcedure()/* ... */.createServerAction();
const action1 = procedure.input(/* ... /);
const action2 = procedure.input(/ ... */);