From 12026b43dbcfa23b87174ec59777bba895ecb035 Mon Sep 17 00:00:00 2001 From: Ty Frith Date: Wed, 13 Sep 2023 16:25:12 -0700 Subject: [PATCH] Update EXAMPLES.md Removing the link to useAPI example as it doesn't work - The example was removed: https://github.com/auth0/auth0-react/issues/499 Signed-off-by: Ty Frith --- EXAMPLES.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/EXAMPLES.md b/EXAMPLES.md index be368706..cd29491f 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -96,8 +96,6 @@ const Posts = () => { export default Posts; ``` -For a more detailed example see how to [create a `useApi` hook for accessing protected APIs with an access token](#create-a-useapi-hook-for-accessing-protected-apis-with-an-access-token). - ## Protecting a route in a `react-router-dom v6` app We need to access the `useNavigate` hook so we can use `navigate` in `onRedirectCallback` to return us to our `returnUrl`.