Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Update samples/Thinktecture.Blazor.Sample/Program.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Liebel <[email protected]>
  • Loading branch information
patrickjahr and christianliebel committed Sep 15, 2023
1 parent 0a7766d commit 715578e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<span>@User.Address.City</span>
<span>@User.Address.Country</span>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Net.Http.Json;
using Fluxor;
using Microsoft.AspNetCore.Components;
using Thinktecture.Blazor.Sample.Models;
Expand Down
3 changes: 2 additions & 1 deletion samples/Thinktecture.Blazor.Sample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Thinktecture.Blazor.FileHandling;
using Thinktecture.Blazor.PwaUpdate;
using Thinktecture.Blazor.Sample;
using Thinktecture.Blazor.ScreenWakeLock;
using Thinktecture.Blazor.ViewTransitions;
using Thinktecture.Blazor.WebShare;

Expand All @@ -25,6 +26,6 @@
builder.Services.AddWebShareService();
builder.Services.AddUpdateService();
builder.Services.AddScreenWakeLockService();
builder.Services.AddViewTransitionServices();
builder.Services.AddViewTransitionService();

await builder.Build().RunAsync();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class ViewTransitionService : IViewTransitionService
private readonly Lazy<ValueTask<IJSInProcessObjectReference>> _moduleTask;
private TaskCompletionSource _oldViewStateCompleted = new(TaskCreationOptions.RunContinuationsAsynchronously);
private Task? _beforeTransition;
private SemaphoreSlim _semaphore;
private SemaphoreSlim? _semaphore;


public ViewTransitionService(IJSRuntime jSRuntime)
Expand Down

0 comments on commit 715578e

Please sign in to comment.