diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 018d3ccb4..3b76558ce 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -1073,126 +1073,126 @@ export function MerchantDetails({ ); } -function DeliveryDetails({ - date, - location, -}: { - date: TalerProtocolTimestamp | undefined; - location: Location | undefined; -}): VNode { - const { i18n } = useTranslationContext(); - return ( - - {location && ( - - {location.country && ( - - - Country - - {location.country} - - )} - {location.address_lines && ( - - - Address lines - - {location.address_lines} - - )} - {location.building_number && ( - - - Building number - - {location.building_number} - - )} - {location.building_name && ( - - - Building name - - {location.building_name} - - )} - {location.street && ( - - - Street - - {location.street} - - )} - {location.post_code && ( - - - Post code - - {location.post_code} - - )} - {location.town_location && ( - - - Town location - - {location.town_location} - - )} - {location.town && ( - - - Town - - {location.town} - - )} - {location.district && ( - - - District - - {location.district} - - )} - {location.country_subdivision && ( - - - Country subdivision - - {location.country_subdivision} - - )} - - )} +// function DeliveryDetails({ +// date, +// location, +// }: { +// date: TalerProtocolTimestamp | undefined; +// location: Location | undefined; +// }): VNode { +// const { i18n } = useTranslationContext(); +// return ( +// +// {location && ( +// +// {location.country && ( +// +// +// Country +// +// {location.country} +// +// )} +// {location.address_lines && ( +// +// +// Address lines +// +// {location.address_lines} +// +// )} +// {location.building_number && ( +// +// +// Building number +// +// {location.building_number} +// +// )} +// {location.building_name && ( +// +// +// Building name +// +// {location.building_name} +// +// )} +// {location.street && ( +// +// +// Street +// +// {location.street} +// +// )} +// {location.post_code && ( +// +// +// Post code +// +// {location.post_code} +// +// )} +// {location.town_location && ( +// +// +// Town location +// +// {location.town_location} +// +// )} +// {location.town && ( +// +// +// Town +// +// {location.town} +// +// )} +// {location.district && ( +// +// +// District +// +// {location.district} +// +// )} +// {location.country_subdivision && ( +// +// +// Country subdivision +// +// {location.country_subdivision} +// +// )} +// +// )} - {!location || !date ? undefined : ( - - -
- - - )} - {date && ( - - - - Date - - - - )} -
- ); -} +// {!location || !date ? undefined : ( +// +// +//
+// +// +// )} +// {date && ( +// +// +// +// Date +// +// +// +// )} +//
+// ); +// } export function ExchangeDetails({ exchange }: { exchange: string }): VNode { return (