diff --git a/bugulma/frontend/components/add-organization/steps/Step1.tsx b/bugulma/frontend/components/add-organization/steps/Step1.tsx index 7bfafb6..31bb53d 100644 --- a/bugulma/frontend/components/add-organization/steps/Step1.tsx +++ b/bugulma/frontend/components/add-organization/steps/Step1.tsx @@ -73,9 +73,7 @@ const Step1 = ({ /> )} /> -
- {t('organization.galleryImagesHint')} -
+{t('organization.galleryImagesHint')}
); diff --git a/bugulma/frontend/components/heritage/TimelineSection.tsx b/bugulma/frontend/components/heritage/TimelineSection.tsx index d84bfbf..adef443 100644 --- a/bugulma/frontend/components/heritage/TimelineSection.tsx +++ b/bugulma/frontend/components/heritage/TimelineSection.tsx @@ -101,7 +101,7 @@ const TimelineSection = ({ transition={{ duration: 0.3 }} aria-label={t('heritage.toggleFilters')} > - ▼ + ▼ diff --git a/bugulma/frontend/components/map/ProductServiceMarkers.tsx b/bugulma/frontend/components/map/ProductServiceMarkers.tsx index 3650089..9381337 100644 --- a/bugulma/frontend/components/map/ProductServiceMarkers.tsx +++ b/bugulma/frontend/components/map/ProductServiceMarkers.tsx @@ -24,7 +24,7 @@ const ProductMarker = React.memo<{ const position: LatLngTuple = useMemo(() => { if (!match.product?.location) return [0, 0]; return [match.product.location.latitude, match.product.location.longitude]; - }, [match.product?.location?.latitude, match.product?.location?.longitude]); + }, [match.product?.location]); const icon = useMemo(() => { if (!match.product?.location) { @@ -118,7 +118,7 @@ const ServiceMarker = React.memo<{ const position: LatLngTuple = useMemo(() => { if (!match.service?.service_location) return [0, 0]; return [match.service.service_location.latitude, match.service.service_location.longitude]; - }, [match.service?.service_location?.latitude, match.service?.service_location?.longitude]); + }, [match.service?.service_location]); const icon = useMemo(() => { if (!match.service?.service_location) { diff --git a/bugulma/frontend/components/matches/MatchCard.tsx b/bugulma/frontend/components/matches/MatchCard.tsx index 03cb47c..3562e92 100644 --- a/bugulma/frontend/components/matches/MatchCard.tsx +++ b/bugulma/frontend/components/matches/MatchCard.tsx @@ -77,9 +77,10 @@ const MatchCard: React.FCError loading network graph
+{t('organization.networkGraphError')}
{error}
Loading network graph...
+{t('organization.networkGraphLoading')}
- {t('community.events.description')} -
+{t('community.events.description')}
- {t('community.impact.description')} -
+{t('community.impact.description')}
- {t('community.news.description')} -
+{t('community.news.description')}
- {t('community.stories.description')} -
+{t('community.stories.description')}
+ {match.description || `Match ${match.id || index}`} +
+{match.resource_type}
+{match.description || `Match ${match.id || index}`}
-{match.resource_type}
++ {t('impactMetrics.co2Tonnes', { + value: formatNumber(match.co2_impact || 0), + })} +
++ {formatCurrency(match.economic_impact || 0)} +
- {t('impactMetrics.co2Tonnes', { value: formatNumber(match.co2_impact || 0) })} -
-- {formatCurrency(match.economic_impact || 0)} -
-- {t('login.quickLogin')} -
+{t('login.quickLogin')}