{
+ if (open) return
+ if (
+ details.reason === 'outside-press' &&
+ details.event.target instanceof Element &&
+ details.event.target.closest('[data-globe-profile] button')
+ ) {
+ details.cancel()
+ return
+ }
+ setSelection(null)
+ }}
>
-
- Select to see nearby maintainers,
- Select a profile to open their GitHub. -
-No shared locations for the selected maintainers and contributors. diff --git a/src/components/home/HomeCommunitySection.tsx b/src/components/home/HomeCommunitySection.tsx index f482b8e1a..d25954002 100644 --- a/src/components/home/HomeCommunitySection.tsx +++ b/src/components/home/HomeCommunitySection.tsx @@ -12,13 +12,7 @@ const MaintainersMap = lazy(() => })), ) -// Reserve the map, its help text line, and the gap between them. -const globeFallback = ( -
-) +const globeFallback = export function HomeCommunitySection() { return ( @@ -38,6 +32,18 @@ export function HomeCommunitySection() { Who builds TanStack? ++ + Select to see nearby maintainers,{' '} + Esc to close. + + + Tap a profile to see nearby maintainers. + +