From d1a3fe09e316f13800d0884d238a2cccb8f83f73 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Fri, 15 Aug 2025 18:11:00 +0300
Subject: fix/frontend: smol syntax fix

---
 frontend/src/components/Summary.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'frontend/src/components/Summary.tsx')

diff --git a/frontend/src/components/Summary.tsx b/frontend/src/components/Summary.tsx
index ba91f57..1bd70f0 100644
--- a/frontend/src/components/Summary.tsx
+++ b/frontend/src/components/Summary.tsx
@@ -191,7 +191,7 @@ const Summary: React.FC<SummaryProps> = ({
             <span style={{ color: "red" }}>Very Hard</span>
           )}
           <div>
-            {data.map.difficulty <= 2 && ? (
+            {data.map.difficulty <= 2 ? (
               <div
                 className="difficulty-rating"
                 style={{ backgroundColor: "lime" }}
@@ -199,7 +199,7 @@ const Summary: React.FC<SummaryProps> = ({
             ) : (
               <div className="difficulty-rating"></div>
             )}
-            {data.map.difficulty > 2 && data.map.difficulty <= 4 && ? (
+            {data.map.difficulty > 2 && data.map.difficulty <= 4 ? (
               <div
                 className="difficulty-rating"
                 style={{ backgroundColor: "green" }}
@@ -207,7 +207,7 @@ const Summary: React.FC<SummaryProps> = ({
             ) : (
               <div className="difficulty-rating"></div>
             )}
-            {data.map.difficulty > 4 && data.map.difficulty <= 6 && ? (
+            {data.map.difficulty > 4 && data.map.difficulty <= 6 ? (
               <div
                 className="difficulty-rating"
                 style={{ backgroundColor: "yellow" }}
@@ -215,7 +215,7 @@ const Summary: React.FC<SummaryProps> = ({
             ) : (
               <div className="difficulty-rating"></div>
             )}
-            {data.map.difficulty > 6 && data.map.difficulty <= 8 && ? (
+            {data.map.difficulty > 6 && data.map.difficulty <= 8 ? (
               <div
                 className="difficulty-rating"
                 style={{ backgroundColor: "orange" }}
@@ -223,7 +223,7 @@ const Summary: React.FC<SummaryProps> = ({
             ) : (
               <div className="difficulty-rating"></div>
             )}
-            {data.map.difficulty > 8 && data.map.difficulty <= 10 && ? (
+            {data.map.difficulty > 8 && data.map.difficulty <= 10 ? (
               <div
                 className="difficulty-rating"
                 style={{ backgroundColor: "red" }}
-- 
cgit v1.2.3

