From bf4e98e90decc286f7308c948b4a6cfd48631bea Mon Sep 17 00:00:00 2001 From: Gilles <43683714+corp-0@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:25:29 -0300 Subject: [PATCH] feat: close dropdown after clicking on an element --- app/changelog/buildComponent.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/changelog/buildComponent.tsx b/app/changelog/buildComponent.tsx index f2f7cf4..1f054d9 100644 --- a/app/changelog/buildComponent.tsx +++ b/app/changelog/buildComponent.tsx @@ -92,6 +92,7 @@ const DownloadBuildDropdown = (props: { version: string }) => { href={`https://unitystationfile.b-cdn.net/UnityStationDevelop/${platform}/${props.version}.zip`} className="block px-4 py-2 text-sm text-blue-50 hover:bg-gray-100 hover:text-gray-900" role="menuitem" + onClick={handleClick} > {platform}