From 48a4abc25385b3258378d7c21c1841e263796b2c Mon Sep 17 00:00:00 2001 From: Natanael Filho Date: Sun, 8 Sep 2024 22:13:27 -0300 Subject: [PATCH 1/2] removing comments --- src/components/home/StartPointsCard.tsx | 1 - src/components/trail-page/trailContents.tsx | 2 +- src/services/studioMaker.service.ts | 9 --------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/home/StartPointsCard.tsx b/src/components/home/StartPointsCard.tsx index a590046..4247682 100644 --- a/src/components/home/StartPointsCard.tsx +++ b/src/components/home/StartPointsCard.tsx @@ -55,7 +55,6 @@ const StartCard: React.FC = ({ const responsive = { superLargeDesktop: { - // the naming can be any, depends on you. breakpoint: { max: 4000, min: 3000 }, items: 5, }, diff --git a/src/components/trail-page/trailContents.tsx b/src/components/trail-page/trailContents.tsx index 616f326..1c34846 100644 --- a/src/components/trail-page/trailContents.tsx +++ b/src/components/trail-page/trailContents.tsx @@ -51,7 +51,7 @@ const TrailContents: React.FC = ({ > {contents.map((content, index) => { const isClickable = - index <= contents.findIndex((c) => c._id === currentContentId); // Apenas as trilhas passadas e a atual são clicáveis + index <= contents.findIndex((c) => c._id === currentContentId); return (