Skip to content

Commit 4d10e1e

Browse files
committed
final-feedback
1 parent 5d90f72 commit 4d10e1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory/develop/tutorial-single-page-app-react-call-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ In this tutorial:
3333

3434
To allow the SPA to request access to Microsoft Graph, a reference to the `graphConfig` object needs to be added. This contains the Graph REST API endpoint defined in *authConfig.js* file.
3535

36-
1. In the *src* folder, open *graph.js* and replace the contents of the file with the following code snippet to request access to Microsoft Graph.
36+
- In the *src* folder, open *graph.js* and replace the contents of the file with the following code snippet to request access to Microsoft Graph.
3737

3838
:::code language="javascript" source="~/ms-identity-docs-code-javascript/react-spa/src/graph.js" :::
3939

4040
## Update imports to use components in the application
4141

4242
The following code snippet imports the UI components that were created previously to the application. It also imports the required components from the `@azure/msal-react` package. These components will be used to render the user interface and call the API.
4343

44-
1. In the *src* folder, open *App.jsx* and replace the contents of the file with the following code snippet to request access.
44+
- In the *src* folder, open *App.jsx* and replace the contents of the file with the following code snippet to request access.
4545

4646
```javascript
4747
import React, { useState } from 'react';
@@ -62,7 +62,7 @@ The following code snippet imports the UI components that were created previousl
6262

6363
The `ProfileContent` function is used to render the user's profile information after the user has signed in. This function will be called when the user selects the **Request Profile Information** button.
6464

65-
1. In the *App.jsx* file, add the following code below your imports:
65+
- In the *App.jsx* file, add the following code below your imports:
6666

6767
```JavaScript
6868
/**
@@ -104,7 +104,7 @@ The `ProfileContent` function is used to render the user's profile information a
104104

105105
The `MainContent` function is used to render the user's profile information after the user has signed in. This function will be called when the user selects the **Request Profile Information** button.
106106

107-
1. In the *App.jsx* file, replace the `App()` function with the following code:
107+
- In the *App.jsx* file, replace the `App()` function with the following code:
108108

109109
```JavaScript
110110
/**

0 commit comments

Comments
 (0)