Skip to content

Commit

Permalink
[Fix] 모바일 환경에서 브라켓 뷰 하이라이트 안됨#1161 (#1163)
Browse files Browse the repository at this point in the history
* [Fix] 모바일 환경에서 하이라이트 클릭 수정 #1161

* [Fix] 모바일 환경에서 하이라이트 클함수 수정 #1161

---------

Co-authored-by: Junho Jeon <[email protected]>
  • Loading branch information
joonho0410 and Junho Jeon authored Dec 14, 2023
1 parent f749c7a commit 685aa84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/tournament/TournamentMatch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function TournamentMatchParty({
}`}
onMouseEnter={() => onMouseEnter(party.id)}
onClick={() => onPartyClick(party, false)}
onTouchStart={() => {
onPartyClick(party, false);
}}
>
<PlayerImage
src={party.picture ?? '/image/match_qustion.png'}
Expand Down
1 change: 0 additions & 1 deletion pages/tournament.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default function Tournament() {
instance
.get('/pingpong/tournaments?size=20&page=1&status=LIVE')
.then((res) => {
console.log(res.data.tournaments[0].tournamentId);
setOpenTournamentId(res.data.tournaments[0].tournamentId);
return res.data;
}),
Expand Down

0 comments on commit 685aa84

Please sign in to comment.