From a867fc45d667eeecd7cd88b68991e829f0ff0615 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Sat, 13 Sep 2025 16:33:47 -0600 Subject: [PATCH] Lint and prettier --- app/components/HomeHeader.js | 8 ++++---- app/components/RelatedArticles.js | 8 ++++---- app/learn/page.js | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/components/HomeHeader.js b/app/components/HomeHeader.js index 02b230e..1f9d20a 100644 --- a/app/components/HomeHeader.js +++ b/app/components/HomeHeader.js @@ -79,10 +79,10 @@ export default function HomeHeader() { ? size === "home" || size === "homeMd" ? "homeMd" : size === "large" - ? "large" - : size === "homeXlarge" - ? "homeXlarge" - : "xsmallUseCases" + ? "large" + : size === "homeXlarge" + ? "homeXlarge" + : "xsmallUseCases" : size } variant={ diff --git a/app/components/RelatedArticles.js b/app/components/RelatedArticles.js index c695b66..4cdf891 100644 --- a/app/components/RelatedArticles.js +++ b/app/components/RelatedArticles.js @@ -10,7 +10,7 @@ export default function RelatedArticles({ }) { // Filter out the current post from related posts const filteredPosts = relatedPosts.filter( - (post) => post.slug !== currentPostSlug + (post) => post.slug !== currentPostSlug, ); const [currentIndex, setCurrentIndex] = useState(0); @@ -97,7 +97,7 @@ export default function RelatedArticles({ const handleMouseUp = () => { document.removeEventListener( "mousemove", - handleMouseMove + handleMouseMove, ); document.removeEventListener("mouseup", handleMouseUp); }; @@ -138,8 +138,8 @@ export default function RelatedArticles({ index === currentIndex ? `${progress}%` : index < currentIndex - ? "100%" - : "0%", + ? "100%" + : "0%", }} /> diff --git a/app/learn/page.js b/app/learn/page.js index 39e78fe..67322d1 100644 --- a/app/learn/page.js +++ b/app/learn/page.js @@ -104,8 +104,8 @@ export default function LearnPage() { More Content Coming Soon

- We're working on adding more educational content to help you build - better communities. Check back soon for new articles and + We're working on adding more educational content to help you + build better communities. Check back soon for new articles and resources.