diff --git a/components/takgu/game/GameResultList.tsx b/components/takgu/game/GameResultList.tsx index d36f36f03..dbfcc765e 100644 --- a/components/takgu/game/GameResultList.tsx +++ b/components/takgu/game/GameResultList.tsx @@ -21,7 +21,11 @@ export default function GameResultList({ useGameResultList(path); const page = - pathName === '/' ? 'main' : pathName === '/game' ? 'game' : 'profile'; + pathName === '/takgu' + ? 'main' + : pathName === '/takgu/game' + ? 'game' + : 'profile'; if (status === 'loading') return ; diff --git a/components/takgu/mode/modeWraps/GameModeWrap.tsx b/components/takgu/mode/modeWraps/GameModeWrap.tsx index ebfa0a25e..a2a17281a 100644 --- a/components/takgu/mode/modeWraps/GameModeWrap.tsx +++ b/components/takgu/mode/modeWraps/GameModeWrap.tsx @@ -40,7 +40,7 @@ export default function GameModeWrap({ setRadioMode(e.target.value as SeasonMode); }; - const isGamePage = useRouter().pathname === '/game'; + const isGamePage = useRouter().pathname === '/takgu/game'; return (