Skip to content

Commit 2ce3876

Browse files
committed
refactor: 撤销更改
1 parent 6dc4289 commit 2ce3876

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/BootstrapBlazor.Server/Components/Layout/BaseLayout.razor

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
</main>
88
</BootstrapBlazorRoot>
99

10-
<NetworkMonitor OnNetworkStateChanged="OnNetworkStateChanged"></NetworkMonitor>
11-
1210
<div id="blazor-error-ui">
1311
An unhandled error has occurred.
1412
<a href="" class="reload">Reload</a>

src/BootstrapBlazor.Server/Components/Layout/BaseLayout.razor.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ private async Task NotifyReboot(DispatchEntry<bool> payload)
9595
}
9696
}
9797

98-
private static Task OnNetworkStateChanged(NetworkMonitorState state)
99-
{
100-
System.Console.WriteLine(state.ToString());
101-
return Task.CompletedTask;
102-
}
103-
10498
/// <summary>
10599
/// 释放资源
106100
/// </summary>

0 commit comments

Comments
 (0)