Skip to content

Commit

Permalink
React to blazor template changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Aug 1, 2023
1 parent e123bd3 commit 3406b90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async Task AddParameterToComponent()

async Task ModifyCshtmlFile()
{
var file = Path.Combine(_workingDirectory, "Pages", "_Host.cshtml");
var file = Path.Combine(_workingDirectory, "App.razor");
var originalContent = File.ReadAllText(file);

File.WriteAllText(file, originalContent.Replace("<body>", "<body><h2>Some text</h2>"));
Expand Down

0 comments on commit 3406b90

Please sign in to comment.