Skip to content

Commit

Permalink
docs(readme): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan authored Apr 23, 2023
1 parent afc2c2f commit 0b40913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default DeleteUserForm;
The `useAction` hook returns an object with three keys:

- `execute`: a caller for the safe action you provided as argument to the hook. Here you pass your typesafe `input`, the same way you do when using safe action the non-hooky way.
- `isExecuting`: a `boolean` that is true while the `action` function is mutating data.
- `isExecuting`: a `boolean` that is true while the `execute` function is mutating data.
- `res`: when `execute` finished mutating data, the response object. Otherwise it is `null`. It has the same three optional keys as the one above (`data`, `validationError`, `serverError`), plus one: `fetchError`. This additional optional key is populated when communication with the server fails for some reason.

Image example:
Expand Down

0 comments on commit 0b40913

Please sign in to comment.