From 6f7c9d8f3c807740014c51f62dcd402686717142 Mon Sep 17 00:00:00 2001 From: Nanne <184182+whazor@users.noreply.github.com> Date: Thu, 15 Aug 2024 19:21:39 +0200 Subject: [PATCH] button instead of span --- web/src/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/index.tsx b/web/src/pages/index.tsx index 4637a8f8745..60dd2fe00c4 100644 --- a/web/src/pages/index.tsx +++ b/web/src/pages/index.tsx @@ -50,7 +50,7 @@ export default function Home(props: {releases: Release[]}) { ) .sort((a, b) => groupMap[b].length - groupMap[a].length) .map((group, i) => { - return setSelectedGroup(group === selectedGroup ? undefined : group) } @@ -59,7 +59,7 @@ export default function Home(props: {releases: Release[]}) { (selectedGroup === group ? " bg-blue-300 text-blue-900" : "") }> {group} - + })}