Skip to content

Commit 43a7c08

Browse files
committed
Remove unused highlighting as it is done by the editor
1 parent 11a46d5 commit 43a7c08

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/LinkDotNet.Blog.Web/Features/Admin/BlogPostEditor/Components/CreateNewBlogPost.razor

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@
147147
model = CreateNewModel.FromBlogPost(BlogPost);
148148
}
149149

150-
protected override async Task OnAfterRenderAsync(bool firstRender)
151-
{
152-
if (firstRender)
153-
{
154-
await JSRuntime.InvokeVoidAsync("hljs.highlightAll");
155-
StateHasChanged();
156-
}
157-
}
158-
159150
private async Task OnValidBlogPostCreatedAsync()
160151
{
161152
canSubmit = false;

0 commit comments

Comments
 (0)