-
{translate('::App.Platform.Intranet.SocialWall.LocationPicker.LoadingGoogleMaps')}
+
+ {translate('::App.Platform.Intranet.SocialWall.LocationPicker.LoadingGoogleMaps')}
+
) : isLoading ? (
-
{translate('::App.Platform.Intranet.SocialWall.LocationPicker.SearchingLocations')}
+
+ {translate('::App.Platform.Intranet.SocialWall.LocationPicker.SearchingLocations')}
+
) : error ? (
@@ -298,7 +337,7 @@ const LocationPicker: React.FC
= ({ onSelect, onClose }) =>
'w-full text-left p-3 rounded-lg transition-all hover:bg-gray-50 dark:hover:bg-gray-700',
selectedLocation?.id === location.id
? 'bg-blue-50 dark:bg-blue-900/30 border-2 border-blue-500'
- : 'border-2 border-transparent'
+ : 'border-2 border-transparent',
)}
>
@@ -306,9 +345,7 @@ const LocationPicker: React.FC = ({ onSelect, onClose }) =>
@@ -318,7 +355,7 @@ const LocationPicker: React.FC = ({ onSelect, onClose }) =>
'font-semibold mb-1',
selectedLocation?.id === location.id
? 'text-blue-600 dark:text-blue-400'
- : 'text-gray-900 dark:text-gray-100'
+ : 'text-gray-900 dark:text-gray-100',
)}
>
{location.name}
@@ -333,7 +370,11 @@ const LocationPicker: React.FC = ({ onSelect, onClose }) =>
{selectedLocation?.id === location.id && (
-