Skip to content

Commit

Permalink
Merge pull request #122 from Plick-pop-in/fix/chatmove
Browse files Browse the repository at this point in the history
[fix/chatmove] 채팅방무브
  • Loading branch information
yeriinnn authored Jun 15, 2024
2 parents b823e58 + c73b183 commit 84e59cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/component/frame/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const AppRouter = () => {
<Route path="/Main" element={<Main />} />
<Route path="/KaKaoMap" element={<KakaoMap />} />
<Route path="/Live" element={<Live />} />
<Route path="/Chat/:popupName" element={<Chat />} />
<Route path="/Chat" element={<Chat />} />
<Route path="/Login" element={<Login />} />
<Route path="/Mypage" element={<Mypage />} />
<Route path="/UserInfo" element={<UserInfo />} />
Expand Down
2 changes: 1 addition & 1 deletion src/component/live/ChatBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ChatBox = () => {
return (
<div className="chat-message-list">
{chatList.map((chat, index) => (
<Link key={index} to={`/chat/${encodeURIComponent(chat.popupName)}`} className="chat-message-box">
<Link key={index} to={`/chat?chatboxname=${encodeURIComponent(chat.popupName)}`} className="chat-message-box">
<div className="blue-rectangle">
<div className="white-inner-rectangle">
<img className="message-image" src={require('../../assets/images/ic_message.png')} alt="message-image" />
Expand Down

0 comments on commit 84e59cd

Please sign in to comment.