File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ export const chatInputBoxContainer = styled.div`
1919 display: flex;
2020 flex-direction: column;
2121 gap: 10px;
22+ height: 100%;
2223` ;
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import styled from "styled-components";
33export const chatLog = styled . div `
44 flex-grow: 1;
55 font-size: 14px;
6- max-height: 290px;
76 overflow-y: scroll;
7+ height: 100%;
88` ;
99
1010export const chatInput = styled . input `
@@ -31,5 +31,4 @@ export const chatInputBox = styled.div`
3131 width: 100%;
3232 display: flex;
3333 gap: 10px;
34- height: 100%;
3534` ;
Original file line number Diff line number Diff line change @@ -5,17 +5,18 @@ import TurnWaiting from "../modalContents/TurnWaiting";
55import GameWaiting from "../modalContents/GameWaiting" ;
66import Alert from "../modalContents/Alert" ;
77import GuessNumber from "../selectionNumber/GuessNumber" ;
8+ import SelectTurn from "../modalContents/SelectTurn" ;
89
910export const modalComponents : Record < string , React . ReactNode > = {
1011 firstSelect : < FirstSelect /> ,
1112 makeRoom : < MakeRoom /> ,
1213 selectWhiteBlack : < BigDeck /> ,
1314 turnWaiting : < TurnWaiting /> ,
1415 gameWaiting : < GameWaiting /> ,
15- guessNumber : < GuessNumber /> ,
16- myTurn : < BigDeck /> ,
17-
18- GameRoomJoinConfirm : (
16+ selectTurn : < SelectTurn /> ,
17+ gameRoomJoinConfirm : (
1918 < Alert message = "개임 방 만들기는 로그인 후 가능합니다." />
2019 ) ,
20+ guessNumber : < GuessNumber /> ,
21+ myTurn : < BigDeck /> ,
2122} ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default function GameRoomList() {
2222
2323 const onClickModalOpen = ( ) => {
2424 if ( ! accessToken || accessToken === null ) {
25- openModal ( "GameRoomJoinConfirm " , "white" ) ;
25+ openModal ( "gameRoomJoinConfirm " , "white" ) ;
2626 } else {
2727 openModal ( "makeRoom" , "white" ) ;
2828 }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import Home from "@pages/home/Home";
1212import SignUpFinish from "@pages/user/signUp/SignUpFinish" ;
1313import Error from "@pages/error/Error" ;
1414import TestPage from "../pages/testpage/Testpage" ;
15+ import MyPage from "../pages/mypage/myScorePage/MyPage" ;
1516
1617export const router = createBrowserRouter ( [
1718 {
@@ -58,13 +59,20 @@ export const router = createBrowserRouter([
5859 ] ,
5960 } ,
6061 {
61- path : "/user/mypage/checkPassword" ,
62- element : < CheckPassword /> ,
63- } ,
64- {
65- path : "/user/mypage/updateMyPage" ,
66- element : < UpdateMyPage /> ,
62+ path : "/user/mypage" ,
63+ element : < MyPage /> ,
64+ children : [
65+ {
66+ path : "checkPassword" ,
67+ element : < CheckPassword /> ,
68+ } ,
69+ {
70+ path : "updateMyPage" ,
71+ element : < UpdateMyPage /> ,
72+ } ,
73+ ] ,
6774 } ,
75+
6876 {
6977 path : "/test" ,
7078 element : < TestPage /> ,
You can’t perform that action at this time.
0 commit comments