Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
s8_ivanov_r
VPL-pizza-shop-blazor
Commits
91970465
Unverified
Commit
91970465
authored
May 27, 2020
by
Toi Wright
Committed by
GitHub
May 27, 2020
Browse files
Update 04-refactor-state-management.md (#262)
Needed to update text to match code change.
parent
f99c0da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/04-refactor-state-management.md
docs/04-refactor-state-management.md
+1
-1
No files found.
docs/04-refactor-state-management.md
View file @
91970465
...
...
@@ -20,7 +20,7 @@ public static async Task Main(string[] args)
var
builder
=
WebAssemblyHostBuilder
.
CreateDefault
(
args
);
builder
.
RootComponents
.
Add
<
App
>(
"app"
);
builder
.
Services
.
Add
BaseAddressHttpClient
(
);
builder
.
Services
.
Add
Transient
(
sp
=>
new
HttpClient
{
BaseAddress
=
new
Uri
(
builder
.
HostEnvironment
.
BaseAddress
)
}
);
builder
.
Services
.
AddScoped
<
OrderState
>();
await
builder
.
Build
().
RunAsync
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment