Rebase changes

This commit is contained in:
Timothy Armes
2024-09-27 11:09:57 +02:00
parent 1c7ad63e03
commit b6c0cb43cc
6 changed files with 11 additions and 29 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { createSafeActionClient } from "next-safe-action";
export const action = createSafeActionClient({
handleReturnedServerError(error) {
return error.message;
export const actionClient = createSafeActionClient({
handleServerError(error) {
throw error;
},
});