Skip to content

Commit

Permalink
fix: リザルト画面でスコアを整数表示に修正
Browse files Browse the repository at this point in the history
  • Loading branch information
waka-eup25 committed Mar 28, 2024
1 parent c61f246 commit d234da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typing-app/src/components/templates/GameResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const GameResult: React.FC<GameResultProps> = ({ nextPage, resultScore }) => {
</GridItem>
<GridItem colSpan={3} colStart={6} rowStart={3} className={styles.centerText}>
<Text fontSize="2xl" as="b">
{resultScore.score}
{Math.floor(resultScore.score)}
</Text>
</GridItem>
<GridItem colSpan={3} colStart={6} rowStart={4} className={styles.centerText}>
Expand Down

0 comments on commit d234da3

Please sign in to comment.