Update SpaceOptions.jsx

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

View file

@ -55,7 +55,7 @@ function SpaceOptions({ roomId, afterOptionSelect }) {
}; };
const handleLeaveClick = () => { const handleLeaveClick = () => {
if (confirm('Are you really want to leave this space?')) { if (confirm('Are you sure that you want to leave this space?')) {
leave(roomId); leave(roomId);
afterOptionSelect(); afterOptionSelect();
} }