Skip to content

Commit

Permalink
Improving QSGs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagara Gunathunga committed Dec 10, 2024
1 parent 5a36d68 commit 38fb5f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/asgardeo/docs/quick-starts/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Add the following changes to the `main.jsx` file.
- `<your-app-client-id>`
- `https://api.asgardeo.io/t/<your-organization-name>`

```javascript hl_lines="5 9-17 19"
```javascript title="src/main.jsx" hl_lines="5 9-17 19"
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
Expand Down Expand Up @@ -144,7 +144,7 @@ Asgardeo provides `useAuthContext` hook to conveniently access user authenticati

Replace the existing content of the `App.jsx` file with following content.

```javascript hl_lines="1 5 9-13"
```javascript title="src/App.jsx" hl_lines="1 5 9-13"
import { useAuthContext } from '@asgardeo/auth-react'
import './App.css'

Expand Down Expand Up @@ -175,7 +175,7 @@ Visit your app's homepage at [http://localhost:5173](http://localhost:5173).

Modify the code as below to see logged in user details.

```javascript hl_lines="11"
```javascript title="src/App.jsx" hl_lines="11"
import { useAuthContext } from '@asgardeo/auth-react'
import './App.css'

Expand Down

0 comments on commit 38fb5f2

Please sign in to comment.