From d5f11c83d01d296af6bf17d06c39781c8327cc4b Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 24 Mar 2022 09:00:41 -0500 Subject: [PATCH] chore: error --- packages/app/src/components/app/play/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/app/src/components/app/play/index.jsx b/packages/app/src/components/app/play/index.jsx index 8a8dd72..dccec3f 100644 --- a/packages/app/src/components/app/play/index.jsx +++ b/packages/app/src/components/app/play/index.jsx @@ -26,7 +26,9 @@ function Play() { dispatch(setSelfEntity(await socket.send(['Join']))); } catch (error) { - dispatch(push('/')); + if (409 !== error.code) { + dispatch(push('/')); + } } }; join();