Skip to content

Commit

Permalink
Use AddNavigationProvider everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Sep 24, 2024
1 parent ea88a00 commit 7a86406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.ChartJs.Samples/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public override void ConfigureServices(IServiceCollection services)

services.AddTransient<IConfigureOptions<ResourceManagementOptions>, ResourceManagementOptionsConfiguration>();

services.AddScoped<INavigationProvider, ChartJsSamplesNavigationProvider>();
services.AddNavigationProvider<ChartJsSamplesNavigationProvider>();
}
}

0 comments on commit 7a86406

Please sign in to comment.