Skip to content

Commit

Permalink
chore(website): add hasUnauthorized prop to action callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan committed Dec 11, 2024
1 parent 517fc51 commit 896ff88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/define-actions/action-utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const action = actionClient
bindArgsParsedInputs,
hasRedirected,
hasNotFound,
hasForbidden
hasForbidden,
hasUnauthorized
}) => {},
onError: async ({
error,
Expand All @@ -56,7 +57,8 @@ const action = actionClient
bindArgsClientInputs,
hasRedirected,
hasNotFound,
hasForbidden
hasForbidden,
hasUnauthorized
}) => {},
});
```

0 comments on commit 896ff88

Please sign in to comment.