From 5ac3be65a2ad32ae5631783d852e2611937c91a0 Mon Sep 17 00:00:00 2001 From: Burke Holland Date: Thu, 4 Apr 2024 10:51:09 -0500 Subject: [PATCH] Update @HostEnvironment to @Env (#32256) --- aspnetcore/blazor/fundamentals/environments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/blazor/fundamentals/environments.md b/aspnetcore/blazor/fundamentals/environments.md index 3e33c3a1d4..245963313c 100644 --- a/aspnetcore/blazor/fundamentals/environments.md +++ b/aspnetcore/blazor/fundamentals/environments.md @@ -186,7 +186,7 @@ Obtain the app's environment in a component by injecting Environment example -

Environment: @HostEnvironment.Environment

+

Environment: @Env.Environment

``` :::moniker range=">= aspnetcore-8.0"