From 666428ba53bdcbd22df3bf96fad9836723fd371c Mon Sep 17 00:00:00 2001 From: Rajiv Sahal Date: Fri, 6 Oct 2023 13:16:21 +0530 Subject: [PATCH] fix: location icon doesn't change according to theme (#11504) * Pass icon from eventmeta parent component * Update readme * fix: use dark:invert on map pin Signed-off-by: Udit Takkar * chore: remove log Signed-off-by: Udit Takkar * fix: change svg name Signed-off-by: Udit Takkar * Update packages/features/bookings/components/event-meta/AvailableEventLocations.tsx --------- Signed-off-by: Udit Takkar Co-authored-by: Udit Takkar Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Hariom Balhara --- apps/web/components/eventtype/EventSetupTab.tsx | 1 - apps/web/public/{map-pin.svg => map-pin-dark.svg} | 0 packages/app-store/locations.ts | 4 ++-- .../components/event-meta/AvailableEventLocations.tsx | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) rename apps/web/public/{map-pin.svg => map-pin-dark.svg} (100%) diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index fbff6af59a..3df736b876 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -294,7 +294,6 @@ export const EventSetupTab = ( const eventLabel = location[eventLocationType.defaultValueVariable] || t(eventLocationType.label); - return (
  • 1 ? (
    map-pin