File tree 1 file changed +12
-10
lines changed
src/Components/test/testassets/BasicTestApp
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 2
2
@using Microsoft .AspNetCore .Components
3
3
@inject IComponentContext ComponentContext
4
4
5
- <h1 >Hello</h1 >
5
+ <CascadingAuthenticationState >
6
+ <h1 >Hello</h1 >
6
7
7
- <p >
8
- Current state:
9
- <strong id =" connected-state" >@( ComponentContext .IsConnected ? " connected" : " not connected" ) </strong >
10
- </p >
8
+ <p >
9
+ Current state:
10
+ <strong id =" connected-state" >@( ComponentContext .IsConnected ? " connected" : " not connected" ) </strong >
11
+ </p >
11
12
12
- <p >
13
- Clicks:
14
- <strong id =" count" >@count </strong >
15
- <button id =" increment-count" @onclick =" @(() => count++)" >Click me</button >
16
- </p >
13
+ <p >
14
+ Clicks:
15
+ <strong id =" count" >@count </strong >
16
+ <button id =" increment-count" @onclick =" @(() => count++)" >Click me</button >
17
+ </p >
18
+ </CascadingAuthenticationState >
17
19
18
20
@code {
19
21
int count ;
You can’t perform that action at this time.
0 commit comments