From fb8afcafa8677c6c9f15473d22ca84bd938d7278 Mon Sep 17 00:00:00 2001 From: Dan Dobos Date: Wed, 25 Jun 2025 10:37:03 +0200 Subject: [PATCH] fix: correct title in README and update question display logic in DetailsCard --- README.md | 3 ++- src/components/DetailsCard.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 && (