mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
Rebase changes
This commit is contained in:
@@ -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;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user