@@ -11,7 +11,7 @@ import type {
11
11
HookCallbacks ,
12
12
HookResult ,
13
13
HookSafeActionFn ,
14
- HookStateSafeActionFn ,
14
+ HookSafeStateActionFn ,
15
15
} from "./hooks.types" ;
16
16
import { EMPTY_HOOK_RESULT , isError } from "./utils" ;
17
17
@@ -104,7 +104,7 @@ const useActionCallbacks = <
104
104
* @param safeActionFn The action function
105
105
* @param utils Optional callbacks
106
106
*
107
- * {@link https://next-safe-action.dev/docs/usage /hooks/useaction See docs for more information}
107
+ * {@link https://next-safe-action.dev/docs/execution /hooks/useaction See docs for more information}
108
108
*/
109
109
export const useAction = <
110
110
ServerError ,
@@ -174,7 +174,7 @@ export const useAction = <
174
174
* @param safeActionFn The action function
175
175
* @param utils Required `currentData` and `updateFn` and optional callbacks
176
176
*
177
- * {@link https://next-safe-action.dev/docs/usage /hooks/useoptimisticaction See docs for more information}
177
+ * {@link https://next-safe-action.dev/docs/execution /hooks/useoptimisticaction See docs for more information}
178
178
*/
179
179
export const useOptimisticAction = <
180
180
ServerError ,
@@ -259,7 +259,7 @@ export const useOptimisticAction = <
259
259
* @param safeActionFn The action function
260
260
* @param utils Optional `initResult`, `permalink` and callbacks
261
261
*
262
- * {@link https://next-safe-action.dev/docs/usage /hooks/usestateaction See docs for more information}
262
+ * {@link https://next-safe-action.dev/docs/execution /hooks/usestateaction See docs for more information}
263
263
*/
264
264
export const useStateAction = <
265
265
ServerError ,
@@ -269,7 +269,7 @@ export const useStateAction = <
269
269
FBAVE ,
270
270
Data ,
271
271
> (
272
- safeActionFn : HookStateSafeActionFn < ServerError , S , BAS , FVE , FBAVE , Data > ,
272
+ safeActionFn : HookSafeStateActionFn < ServerError , S , BAS , FVE , FBAVE , Data > ,
273
273
utils ?: {
274
274
initResult ?: Awaited < ReturnType < typeof safeActionFn > > ;
275
275
permalink ?: string ;
0 commit comments