Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 98e2491

Browse files
Clearing errors when the user switches to edit more
1 parent 12cccd2 commit 98e2491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub.InlineReviews/ViewModels/CommentViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ void DoBeginEdit(object unused)
137137
{
138138
if (state != CommentEditState.Editing)
139139
{
140+
ErrorMessage = null;
140141
undoBody = Body;
141142
EditState = CommentEditState.Editing;
142143
}

0 commit comments

Comments
 (0)