Selector/Selector.MAUI/Pages/Index.razor

14 lines
261 B
Plaintext
Raw Normal View History

@page "/app"
@using Selector.SignalR
@inject HubManager hubManager
@inject ILogger<Index> logger
2023-01-21 16:55:51 +00:00
<h1 class="text-center">run that</h1>
2023-01-21 16:55:51 +00:00
@code {
2023-01-21 16:55:51 +00:00
protected async override Task OnInitializedAsync()
{
await hubManager.EnsureConnected();
}
}