From 896ff88224745f5b2988337ef9de10592d7c326a Mon Sep 17 00:00:00 2001 From: Edoardo Rsnghieri Date: Wed, 11 Dec 2024 11:47:33 +0100 Subject: [PATCH] chore(website): add `hasUnauthorized` prop to action callbacks --- website/docs/define-actions/action-utils.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/docs/define-actions/action-utils.md b/website/docs/define-actions/action-utils.md index da08ab7..47e4d24 100644 --- a/website/docs/define-actions/action-utils.md +++ b/website/docs/define-actions/action-utils.md @@ -39,7 +39,8 @@ const action = actionClient bindArgsParsedInputs, hasRedirected, hasNotFound, - hasForbidden + hasForbidden, + hasUnauthorized }) => {}, onError: async ({ error, @@ -56,7 +57,8 @@ const action = actionClient bindArgsClientInputs, hasRedirected, hasNotFound, - hasForbidden + hasForbidden, + hasUnauthorized }) => {}, }); ``` \ No newline at end of file