fix: correct title in README and update question display logic in DetailsCard
This commit is contained in:
@@ -23,7 +23,7 @@ const DetailsCard: React.FC<Props> = ({
|
||||
<div className="details">
|
||||
<div>Difficulty: {Capitalize(difficulty)}</div>
|
||||
<div>
|
||||
Question: {!gameOver && questionNumber + 1+'\/'}{totalQuestions}
|
||||
Question: {!gameOver && questionNumber + 1}{totalQuestions}
|
||||
</div>
|
||||
<div>Score: {score}</div>
|
||||
{category && (
|
||||
|
||||
Reference in New Issue
Block a user