Update SpaceOptions.jsx
This commit is contained in:
parent
ba0de8800a
commit
8afea0ca2f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue