chore: error

This commit is contained in:
cha0s 2022-03-24 09:00:41 -05:00
parent 7348258868
commit d5f11c83d0

View File

@ -26,7 +26,9 @@ function Play() {
dispatch(setSelfEntity(await socket.send(['Join'])));
}
catch (error) {
dispatch(push('/'));
if (409 !== error.code) {
dispatch(push('/'));
}
}
};
join();