From f720b20cc665ad51db39e3761e5e9387c5e69135 Mon Sep 17 00:00:00 2001 From: Chris Short <13677134+devcshort@users.noreply.github.com> Date: Fri, 18 Aug 2023 13:09:36 -0700 Subject: [PATCH] Add display name back to map bubbles --- packages/client/plugins/mapbox/components/map.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/plugins/mapbox/components/map.tsx b/packages/client/plugins/mapbox/components/map.tsx index 557d38a1..f757852b 100644 --- a/packages/client/plugins/mapbox/components/map.tsx +++ b/packages/client/plugins/mapbox/components/map.tsx @@ -17,7 +17,7 @@ import { ReferralButton } from '../../../components/atoms/ReferralButton'; type Props = { locations: { _id: string; - displayName: string; + name: string; description: string; website: string; phone: string; @@ -97,7 +97,7 @@ export function MapComponent({ locations = [] }: Props) { color: theme.colors.primary[theme.primaryShade as number], }} > - {resource.displayName} + {resource.name} {resource.description}