@@ -169,6 +169,7 @@ function handleEditKeydown(e: KeyboardEvent, commentId: string) {
|
||||
e.preventDefault();
|
||||
saveEdit(commentId);
|
||||
} else if (e.key === 'Escape') {
|
||||
e.stopPropagation();
|
||||
cancelEdit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user