From 580e14f39bf189412b129ededa60e45fb59f33c7 Mon Sep 17 00:00:00 2001 From: James Gray <101061708+randombeeper@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:48:23 -0500 Subject: [PATCH] fix(showcase list) - now they're sorted (#2282) * fix(showcase list) - now they're sorted * linter fixes --- packages/website/src/components/Home.js | 44 ++++++++++++++----------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/packages/website/src/components/Home.js b/packages/website/src/components/Home.js index 179b2c234..df41fbcf2 100644 --- a/packages/website/src/components/Home.js +++ b/packages/website/src/components/Home.js @@ -106,28 +106,32 @@ function Home() {
- {showcaseProjects.map(({ name, href, image }) => ( -
- { + return a.name.localeCompare(b.name); + }) + .map(({ name, href, image }) => ( +
- {`Discover -
- {name} -
-
-
- ))} + > + {`Discover +
+ {name} +
+ +
+ ))}