Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
salt26 committed May 16, 2023
1 parent a411399 commit 0763cf4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__pycache__/
sql_app.db
ignore/
#alembic/
alembic/versions/
#alembic.ini
setupProxy.js
Config.js
Expand All @@ -19,4 +19,4 @@ config.json
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json
pip-selfcheck.json
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "env-cmd -f .env react-scripts build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
3 changes: 3 additions & 0 deletions client/src/pages/MobileWatingRoomScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export default function MobileWatingRoomScreen() {
alert(res.message);
return;
}
if (res?.request === "dormancy") {
navigate(`/rooms`, { state: res.data });
}

switch (res?.type) {
case "game_list": // 팀 변경 요청에 대한 응답 , 접속 끊겼을때
Expand Down
3 changes: 3 additions & 0 deletions client/src/pages/WatingGamePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ export default function WatingGamePage() {
alert(res.message);
return;
}
if (res?.request === "dormancy") {
navigate(`/rooms`, { state: res.data });
}

switch (res?.type) {
case "game_list": // 팀 변경 요청에 대한 응답 , 접속 끊겼을때
Expand Down
6 changes: 0 additions & 6 deletions config.json

This file was deleted.

0 comments on commit 0763cf4

Please sign in to comment.