diff --git a/README.md b/README.md index 714807e..63e89d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# React Shop +# React Quiz App +// ![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB) ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white) diff --git a/src/components/DetailsCard.tsx b/src/components/DetailsCard.tsx index ff2904e..102f004 100644 --- a/src/components/DetailsCard.tsx +++ b/src/components/DetailsCard.tsx @@ -23,7 +23,7 @@ const DetailsCard: React.FC = ({
Difficulty: {Capitalize(difficulty)}
- Question: {!gameOver && questionNumber + 1+'\/'}{totalQuestions} + Question: {!gameOver && questionNumber + 1}{totalQuestions}
Score: {score}
{category && (