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:
parent
1e9ede1770
commit
f19a4523ed
|
|
@ -1,6 +1,9 @@
|
|||
@page "/"
|
||||
@namespace BlazorServerWeb_CSharp.Pages
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
|
|||
Loading…
Reference in New Issue