Skip to content

Commit f6fa060

Browse files
committed
final-steps
1 parent 67a0dac commit f6fa060

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
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
@@ -16,7 +16,7 @@ ms.date: 09/25/2023
1616

1717
Before being able to interact with the single-page app (SPA), we need to initiate an API call to Microsoft Graph and create the user interface (UI) for the application. After this is added, we can sign in to the application and get profile data information from the Microsoft Graph API.
1818

19-
In this tutorial, you learn how to:
19+
In this tutorial:
2020

2121
> [!div class="checklist"]
2222
> * Create the API call to Microsoft Graph
@@ -58,7 +58,7 @@ The following code snippet imports the UI components that were created previousl
5858
import Button from 'react-bootstrap/Button';
5959
```
6060

61-
### Adding the `ProfileContent` function
61+
### Add the `ProfileContent` function
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

@@ -100,7 +100,7 @@ The `ProfileContent` function is used to render the user's profile information a
100100
};
101101
```
102102

103-
### Replacing the default function to render authenticated information
103+
### Add the `MainContent` function
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

@@ -139,7 +139,7 @@ The `MainContent` function is used to render the user's profile information afte
139139
}
140140
```
141141

142-
## Calling the API from the application
142+
## Call the Microsoft Graph API from the application
143143

144144
All the required code snippets have been added, so the application can now be called and tested in a web browser.
145145

articles/active-directory/develop/tutorial-single-page-app-react-prepare-spa.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,8 @@ Use the following tabs to create a React project within the IDE.
9595
└── index.css
9696
└── index.js
9797
```
98-
9998
---
10099

101-
102-
103-
104100
## Install identity and bootstrap packages
105101

106102
Identity related **npm** packages must be installed in the project to enable user authentication. For project styling, **Bootstrap** will be used.

0 commit comments

Comments
 (0)