protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { if (Convert.ToBoolean(objGeneralSettings.DisqusEnabled)) { string url = NavigationManager.ToAbsoluteUri($"/ViewBlogPost/{NormalizeTitle}").AbsoluteUri; await DisqusInterop.ResetDisqus( JSRuntime, NormalizeTitle.ToString(), url, SelectedBlog.Title); DisqusState.SetDisplayDisqus(true); } } }