Skip to content

Commit 16b3930

Browse files
committed
fixed: Issue when navigating within one blog post to another page does not update
1 parent d163639 commit 16b3930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LinkDotNet.Blog.Web/Features/ShowBlogPost/ShowBlogPostPage.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ else
5757

5858
private BlogPost BlogPost { get; set; }
5959

60-
protected override async Task OnInitializedAsync()
60+
protected override async Task OnParametersSetAsync()
6161
{
6262
BlogPost = await blogPostRepository.GetByIdAsync(BlogPostId);
6363
}

0 commit comments

Comments
 (0)