Update RoomOptions.jsx

This commit is contained in:
Krishan 2022-04-17 10:23:29 +05:30 committed by GitHub
parent 8afea0ca2f
commit 3b01cb5329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ function RoomOptions({ roomId, afterOptionSelect }) {
afterOptionSelect();
};
const handleLeaveClick = () => {
if (confirm('Are you really want to leave this room?')) {
if (confirm('Are you sure that you want to leave this room?')) {
roomActions.leave(roomId);
afterOptionSelect();
}