Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Fix link to authService in okta-react readme (#712)
Browse files Browse the repository at this point in the history
Co-authored-by: michaeltamaki-okta <[email protected]>
  • Loading branch information
swiftone and michaeltamaki-okta authored Mar 18, 2020
1 parent 91b5a12 commit f6a18eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/okta-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class App extends Component {

### `useOktaAuth`

`useOktaAuth()` is a React Hook that returns an object containing the [authState](#authState) object and the [authService][] object. Class-based components will want to use the [withOktaAuth](#withoktaauth) HOC instead. Using this hook will trigger a re-render when the authState object updates. Components calling this hook need to be a child or descendant of a `<Security>` component to have the necessary context.
`useOktaAuth()` is a React Hook that returns an object containing the [authState](#authState) object and the [authService](#authService) object. Class-based components will want to use the [withOktaAuth](#withoktaauth) HOC instead. Using this hook will trigger a re-render when the authState object updates. Components calling this hook need to be a child or descendant of a `<Security>` component to have the necessary context.

#### Using `useOktaAuth`
```jsx
Expand Down

0 comments on commit f6a18eb

Please sign in to comment.