Update Message.jsx

This commit is contained in:
Krishan 2022-04-17 10:30:01 +05:30 committed by GitHub
parent 7dd2546b0f
commit 0b12173e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -547,7 +547,7 @@ const MessageOptions = React.memo(({
variant="danger" variant="danger"
iconSrc={BinIC} iconSrc={BinIC}
onClick={() => { onClick={() => {
if (window.confirm('Are you sure you want to delete this event')) { if (window.confirm('Are you sure that you want to delete this event')) {
redactEvent(roomId, mEvent.getId()); redactEvent(roomId, mEvent.getId());
} }
}} }}