Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

close project select on link click

Steven Tey58c17eea8ac2
diff --git a/components/layout/app/project-select.tsx b/components/layout/app/project-select.tsx
index 829d387615..4841b64084 100644
--- a/components/layout/app/project-select.tsx
+++ b/components/layout/app/project-select.tsx
@@ -149,6 +149,7 @@ function ProjectList({
selected.slug === "/" ? "font-medium" : ""
} transition-all duration-75`}
href="/links"
+ onClick={() => setOpenPopover(false)}
>
<BlurImage
src={
@@ -184,6 +185,7 @@ function ProjectList({
} transition-all duration-75`}
href={href(slug)}
shallow={false}
+ onClick={() => setOpenPopover(false)}
>
<BlurImage
src={logo || `${GOOGLE_FAVICON_URL}${primaryDomain?.slug}`}