Skip to content

Commit 79ee97f

Browse files
committed
Test code snippet fix
1 parent ce5542f commit 79ee97f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/graph-tutorial/src/app/nav-bar/nav-bar.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
// <navBarComponent>
4+
// <navBar>
55
import { Component, OnInit } from '@angular/core';
66

77
import { AuthService } from '../auth.service';
@@ -45,4 +45,4 @@ export class NavBarComponent implements OnInit {
4545
this.authService.signOut();
4646
}
4747
}
48-
// </navBarComponent>
48+
// </navBar>

tutorial/04-add-aad-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ In this section you'll create an authentication service and implement sign-in an
103103

104104
1. Open the `./src/app/nav-bar/nav-bar.component.ts` file and replace its contents with the following.
105105

106-
:::code language="typescript" source="../demo/graph-tutorial/src/app/nav-bar/nav-bar.component.ts" id="navBarComponent" highlight="3,15-22,24,26-28,36-38,40-42":::
106+
:::code language="typescript" source="../demo/graph-tutorial/src/app/nav-bar/nav-bar.component.ts" id="navBar" highlight="3,15-22,24,26-28,36-38,40-42":::
107107

108108
1. Open`./src/app/home/home.component.ts` and replace its contents with the following.
109109

0 commit comments

Comments
 (0)