Skip to content

Commit

Permalink
demo project bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshrijal committed Nov 1, 2024
1 parent 87827e3 commit 98daddc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions demo/BlazorStateProvider.Demo/BlazorStateProvider.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@
<_ContentIncludedByDefault Remove="wwwroot\sample-data\weather.json" />
</ItemGroup>

<ItemGroup>
<Folder Include="Components\" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion demo/BlazorStateProvider.Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddBlazorStateManager();
builder.Services.AddBlazorStateProvider();
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

await builder.Build().RunAsync();
4 changes: 2 additions & 2 deletions demo/BlazorStateProvider.Demo/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BlazorStateManager.Demo</title>
<title>BlazorStateProvider.Demo</title>
<base href="/" />
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="css/app.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<link href="BlazorStateManager.Demo.styles.css" rel="stylesheet" />
<link href="BlazorStateProvider.Demo.styles.css" rel="stylesheet" />
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorStateProvider/Extensions/ServiceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace BlazorStateProvider.Extensions;

public static class ServiceExtensions
{
public static void AddBlazorStateManager(this IServiceCollection services)
public static void AddBlazorStateProvider(this IServiceCollection services)
{
services.AddBlazoredLocalStorage();
services.AddBlazoredSessionStorage();
Expand Down

0 comments on commit 98daddc

Please sign in to comment.