Skip to content

Commit be9323e

Browse files
committed
Merge branch 'develop' of https://github.com/boostcampwm-2024/web23-Pinoco into develop
2 parents 3c2ec72 + ca73805 commit be9323e

File tree

1 file changed

+5
-1
lines changed
  • packages/frontend/src/components/gamePage/leftSection/GamePhases

1 file changed

+5
-1
lines changed

packages/frontend/src/components/gamePage/leftSection/GamePhases/EndingResult.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ interface IEndingPhaseProps {
44
pinoco: string;
55
isGuessed: boolean;
66
guessingWord: string | null;
7+
word: string;
78
} | null;
89
}
910

1011
export default function EndingResult({ endingResult }: IEndingPhaseProps) {
1112
if (!endingResult) return null;
1213

13-
const { isPinocoWin, pinoco, isGuessed, guessingWord } = endingResult;
14+
const { isPinocoWin, pinoco, isGuessed, guessingWord, word } = endingResult;
1415

1516
const resultImage = isPinocoWin
1617
? '/images/ending/pinocoWin.png'
@@ -53,6 +54,9 @@ export default function EndingResult({ endingResult }: IEndingPhaseProps) {
5354
<p>
5455
피노코는 <span className="font-extrabold">{pinoco}</span>였습니다!
5556
</p>
57+
<p>
58+
제시어 : <span className="font-extrabold">{word}</span>
59+
</p>
5660
<p>{getEndingMessage()}</p>
5761
</div>
5862
</div>

0 commit comments

Comments
 (0)