[Blazor][Fixes #16569] Updates _Host.cshtml to avoid rendering the Identity layout (#16605)

When Identity gets scaffolded into the project, it's layout gets applied to the `_Host.cshtml` which results in 2 layouts being applied.
Adding `Layout = null` to `_Host.cshtml` fixes the issue.
This commit is contained in:
Javier Calvarro Nelson 2019-10-29 12:28:29 +01:00 committed by GitHub
parent 1e9ede1770
commit f19a4523ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
@page "/"
@namespace BlazorServerWeb_CSharp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">